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 #.
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.
svnversion .
Also seems to work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With