Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

with svn, check the revision number when offline

I'm offline (well, to be exact my svn repository in unreachable right now), but I have a fully fledged working copy on which I am, well, working :-)

Now I need to know the revision number of a file. How can I check the revision number of a particular file (which by the way doesn't have the svn:keywords property) while being offline?

I usually check them with svn ls -v or svn log | head or svn blame (of course they give more than I'm looking for right now).

like image 686
Davide Avatar asked Dec 11 '09 03:12

Davide


2 Answers

Use: svn info FILENAME

like image 88
Gonzalo Avatar answered Sep 18 '22 07:09

Gonzalo


You can also enter the folder .svn and check the file named entries, you'll see the revision number and the author

like image 32
Jeredepp Avatar answered Sep 21 '22 07:09

Jeredepp