Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are these two revision numbers in 'svn info'?

Tags:

svn info for the whole codebase (not a particular file) gives me below output. I don't understand

  • what is the difference between Revision: 12838 and Last Changed Rev: 12817
  • and how it can happen that these two numbers are different

Could someone explain?

Path: . URL: svn+ssh://[email protected]/var/lib/svne2/edumate2/tags/4.0.1 Repository Root: svn+ssh://[email protected]/var/lib/svne2/edumate2 Repository UUID: edccd8aa-08f3-0310-ac9a-cddb71435de8 Revision: 12838 Node Kind: directory Schedule: normal Last Changed Author: radek Last Changed Rev: 12817 Last Changed Date: 2011-12-20 15:07:53 +1100 (Tue, 20 Dec 2011) 
like image 405
Radek Avatar asked Feb 20 '12 00:02

Radek


People also ask

What is revision number in svn?

As you saw in the section called “Revisions”, revision numbers in Subversion are pretty straightforward—integers that keep getting larger as you commit more changes to your versioned data.

What does svn info do?

The svn info and svn log commands provide useful information about a given repository. They are both executed on the command line somewhere within the directory of the locally checked out repository. The svn info command may be invoked offline with no network connection to the Subversion server.

How do I find previous versions in svn?

Using the latest versions of Subclipse, you can actually view them without using the cmd prompt. On the file, simply right-click => Team => Switch to another branch/tag/revision.


1 Answers

"Revision" is the current revision (remember that all files in an SVN repo use the same revision number). "Last changed" was the revision when this particular file was last changed.

like image 121
Oliver Charlesworth Avatar answered Oct 12 '22 15:10

Oliver Charlesworth