SVN - how to get a list of all commits on a branch and from branches merged into that branch?

I am new to SVN and I find it very difficult to get the information I use to get into Git.

What I really need is a way, given the "parent" branch, to get all the commits on that branch and on other branches that can be merged into the parent branch. Now I don't need a list of commits from the head to the parent branch before the start of time. I can figure out which revision I need to revert to (base commit), but you need to throw away any commits in time from that base commit that are not in the parent branch (either pushed directly or merged into the parent branch).

It can be written and stored somewhere if required. It should not be run on the fly with the same command. This is mainly to check the list of commits coming into the release branch is the correct list of commits and the results will be used to update Jira tickets to match the commit.

Does anyone have any idea?

+6


source to share


1 answer


It looks like you're over complicating things after getting used to the git. This is very handy in Subversion. Just run the command svn log --use-merge-history --verbose <BRANCH-URL>

.

For example. svn log -g -v https://svn.apache.org/repos/asf/subversion/branches/1.9.x/



See SVNBook | svn log

...

+13


source







All Articles