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

Re: What Version am I?

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2005-12-02 19:56:57 CET

On 12/2/05, Kent Borg <kentborg@borg.org> wrote:
> 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...

There is not 1 number to describe your working copy, read:


alternatively, run 'svnversion . ' in the root of your WC.


Received on Fri Dec 2 20:02:38 2005

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