[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

What Version am I?

From: Kent Borg <kentborg_at_borg.org>
Date: 2005-12-02 19:47:45 CET

How do I find out what version a working directory is at? For
example, say I checkout a copy one day, forget about it, then later
come back wanting to know what version I checked out. What is the
best way to do this?

As a hacky way I did the following:

  $ svn info -R | grep "Revision: " > /tmp/revision_info

And then looked in the resulting (big) file for the largest version
number. There must be an easier way...

Thanks,

-kb

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Dec 2 19:50:25 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.