I appear to be missing revisions. I wrote
> svn commit -m "blah. go back"
Sending report/report2.pl
Transmitting file data .
Committed revision 6.
> svn info
Path: .
URL: file:///home/MYNAME/svn_repository
Repository Root: file:///home/MYNAME/svn_repository
Repository UUID: 05a62b19-7276-0410-ba54-59ad643a30b7
Revision: 3
Node Kind: directory
Schedule: normal
Last Changed Author: MYNAME
Last Changed Rev: 3
Last Changed Date: 2009-10-21 09:52:02 -0400 (Wed, 21 Oct 2009)
huh... I thought i was on revision 6.
My revisions still seem to be there if i try to merge to an older version
To find information about the history of a file or directory, use the svn log command. svn log will provide you with a record of who made changes to a file or directory, at what revision it changed, the time and date of that revision, and, if it was provided, the log message that accompanied the commit.
If you are running SVN over Apache (HTTP or HTTPS), you will want to look at Apache's log. By default going to be in /var/log/httpd . The red book has some good information on it.
If you specify a URL alone, it prints log messages for everything the URL contains. If you add paths past the URL, only messages for those paths under that URL will be printed. The default revision range for a URL is HEAD:1 . With --verbose ( -v ), svn log will also print all affected paths with each log message.
SVN does not automatically update your entire working tree to the latest revision.
In your case, you committed a file in directory ./report
, but then asked for info on .
. If you'd asked for info on ./report
you should see revision 6.
If this disturbs you, run svn update
after every commit (if you're in a multi-person team, you should be doing it before every build anyway).
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