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
2010-02-09 22:49:46
+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
2010-02-10 01:16:43
Tis much clearer now, cheers ;)
Spence
2010-02-10 04:27:48
Got it - thank you
Stephen
2010-02-10 12:18:09
+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
2010-02-10 01:19:24