When you do an svn log
on the trunk there may be gaps in the revisions numbers:
------------------------------------------------------------------------ r1094 | user | 2013-04-23 09:14:01 +0200 (Tue, 23 Apr 2013) | 2 lines commit msg ------------------------------------------------------------------------ r1067 | user | 2012-01-16 14:29:17 +0100 (Mon, 16 Jan 2012) | 1 line other commit msg ------------------------------------------------------------------------
Thats because the other commits were made on branches. The question is how do I determine to which branch a given revision belongs to?
There are two options available to get informatioon about past revisions: svn log -r <rev number> <url> : the commit message of a specified revision and url. svn info -r <rev number> <url> : some technical information about a specified revision and url.
Use just svn diff to display local modifications in a working copy. Display the changes made to TARGET s as they are seen in REV between two revisions. TARGET s may be all working copy paths or all URL s.
SVN's “branch” directory runs parallel to the “trunk” directory. A SVN branch copies the trunk and allows you to make changes. When the new feature is stable, the branch is merged back. Here's a basic step-by-step overview of SVN branching and merging.
Log for repository root include all history for any subtree of repo
svn log -v -q URL-OF-REPO-ROOT/ -r NNN -l 1
will show log for revision NNN (-r
option), affected files (-v
option) and only this single revision (-l 1
option)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With