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

Re: svn --version should give: 0.15.0 (build <revision>)

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-11-26 22:34:16 CET

Karl Fogel <kfogel@newton.ch.collab.net> writes:

> cmpilato@collab.net writes:
> > > +1 on including the revision number.
> >
> > Hmm...perhaps you're right.
>
> Agree. I have mixed revision builds during development, but I'm
> pretty sure that every time I install it's from a single revision
> working copy. Suspect this is the pattern with others as well.
>
> If writing a script to deduce this number, you may find the following
> formula helpful:
>
> $ svn st -v | grep -v "^?" | cut -b 12-18 | uniq | wc -l
>
> If that prints anything other than "1":
>
> $ svn st -v | grep -v "^?" | cut -b 12-18 | uniq | wc -l
> 1
>
> ...then you have a mixed revision working copy.

Hmm, a build process for svn that relies on running svn, could be
interesting...

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Nov 26 22:35:06 2002

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

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