Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

svn log missing revisions

Tags:

linux

svn

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

like image 646
An employee Avatar asked Oct 23 '09 16:10

An employee


People also ask

How do I find my svn revision history?

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.

Where are svn logs stored?

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.

How to use svn log?

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.


1 Answers

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).

like image 125
kdgregory Avatar answered Oct 11 '22 03:10

kdgregory