Tip for SVN Log

April 19th, 2004 by Hen

Finally I understand why I was so confused about SVN log a while back.

’svn log -v’ will create a Changelog based on the version that your local svn files believe you have checked out.

Let’s say you checkout revision 45 (r45). You descend a few directories down and make lots of changes, until you have a file down there which is on r57.

If you goto the top directory, you would expect the whole system to be on r57, but this is not true. It’s still on r45.

So to get a changelog, make sure you do a full svn update first to bring the files up to the latest revision.

’svn info’ is your friend here by the way. It will tell you what revision of a file/directory you have at the moment.

Comments are closed.