How do I identify the first branch which contains a revisions from the trunk?
Can anyone suggest a way of achieving the following:
1) I am examining a particular revision/svn commit in the trunk. 2) I want to find out which release of the software this first went into?
So for example, a user is querying a bug which I know has been fixed. I identify the revision in the trunk but I want to quickly find the first release branch that contains this.
Currently the way I do this is to look at each branch one by one until I find the first one which contains this revision.
I'm thinking there must be开发者_C百科 an easier way. Any ideas?
Many thanks.
Paul.
I think both of the above answers go some way to addressing this (thanks for your answers) but I think the bottom line is that there's no easy (one click) way of doing this.
I just happened to stumble across this whilst looking at the future proposed changes for SVN:
http://subversion.tigris.org/issues/show_bug.cgi?id=3627
Looks as if this area could be improved in a future release.
I'm know this is an old question, but here's what helped me out:
svn log -v -r{revision I'm looking for} {path above trunk and all branches}
The "-v" listed out the files changed in that revision, with full paths to the branches.
Try option "Revision graph" which shows the svn tree including trunk/branches/tags with corresponding revision numbers.
The branches and the trunk are in one repository, you could examine the log of the whole repository instead of analyzing separately the trunk and the branches.
------------------------------------------------------------------------
r11 | dmitry | 2010-07-23 17:31:26 +0300 (Fri, 23 Jul 2010) | 2 lines
Release 1.0.1 branch
....
------------------------------------------------------------------------
r5 | dmitry | 2010-07-22 19:14:01 +0300 (Thu, 22 Jul 2010) | 1 line
bug x fixed
精彩评论