user212064 user212064 - 7 months ago 15
Bash Question

how to get actual revision number from the svn server by svn cli?

Now a little elaboration:

Say lot of revisions are there in the svn database and I want to extract out or see it on the terminal from svn cli..how to do that?

For instance:

shell> svn rev url

would print the revision number



122+date 123+date

I DO NOT need the local working version. Which can be obtained by svn info command.

Answer

svn info does take in a URL parameter which will give you info on a remote repository ( without needing a working copy)

svn info url

http://svnbook.red-bean.com/en/1.5/svn.ref.svn.c.info.html