tags:

views:

70

answers:

2

Hi, I added the $Rev$ tag and invoked svn propset on a set of files during my project. The revision number that shows up is $Rev: 8 $ but during checkout it says I am on Revision 10. I think the $Rev$ counter does not reflect the actual revision number but the revision since svn propset was invoked? Anyone know how I can I sync the two?

+5  A: 

Misunderstanding on subversion. The version on a file in subversion is the last subversion that it was changed in. THe checkout revision is basically: "check out the most recent version of every file that is less than (EDIT* or equal to) 10".

* Should slap myself as a professional programmer for getting that one wrong.

Spence
+1, but I had to look at your edit history to understand what you were saying, lol. Just rollback if you don't agree with the changes.
Dan McGrath
Tis much clearer now, cheers ;)
Spence
Got it - thank you
Stephen
+1  A: 

Don't worry, that's a common misunderstanding for new players with Subversion.

As explained by Spence, file revision != checkout revision

$Rev$ = file revision

Revision displayed during checkout = checkout revision

Dan McGrath
Thanks for the clarification ~
Stephen