Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SVN Info: Last Changed Date?

Tags:

svn

I'm about to commit a big change to my production server, but I thought I ought to scribble down the revision # before I do so in case anything explodes, I can quickly revert back.

However, I just ran svn info on both the dev server, and the production server. The dev server says Last Changed Date: 2010-11-23 16:32:10 -0800 (Tue, 23 Nov 2010), which doesn't seem right, because I just comitted a change a few seconds ago. What does that mean then? Is this giving me correct information? I want to make sure I have the right revision #.

like image 548
mpen Avatar asked Feb 26 '23 14:02

mpen


2 Answers

You'll have to run an svn update before the svn info. The reason svn log "works" is because that talks to the server, whereas svn info look at the local checkout.

like image 105
moinudin Avatar answered Mar 12 '23 04:03

moinudin


svnversion .

Also seems to work.

like image 45
mpen Avatar answered Mar 12 '23 02:03

mpen