[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: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-11-26 21:54:27 CET

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.

-Karl

---------------------------------------------------------------------
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:31:16 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.