Reputation: 22311
In my directory, I do the usual working cycle:
svn update
#..... apply my modifications
svn add new_stuff
svn commit
When I do a
svn status -v
afterwards, the "working revision number" and the "last committed revision number" is always the same, unless with one file (which I have never touched), where svn status -v gives the following output:
677 317 NameOfUser NameOfFile
To investigate this, I did a svn log on this file, which showed only two entries: One for r317 (file creation) and one for r660 (restructuring the repository without change of file contents), both applied before I started programmming in this project.
I understand that in r317, the file was created, and the content had never changed after this. But what is the exact meaning of "working revision", 677?
Upvotes: 3
Views: 2908
Reputation: 14721
Subversion uses global revision numbers to track changes to files. When anytime, anyone made changes and committed this revision number increases.
When you checkout your source code, you get a source code at revision number. Whenever you update your code, your revision number updates to latest one. Your working revision is the your latest update revision. Your working revision may be behind server's latest revision.
For example
This one easy, this is the last commit number which changed this file. Whenever you change any file, your repository global revision number increases even though this particular file has no change. Using Last committed revision number allows you to understand when was the last time this file/folder changed.
Upvotes: 4