[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: Edward S. Marshall <esm_at_logic.net>
Date: 2002-11-26 22:47:17 CET

On Tue, 2002-11-26 at 15:34, Philip Martin wrote:
>
> Karl Fogel <kfogel@newton.ch.collab.net> writes:
> >
> > $ svn st -v | grep -v "^?" | cut -b 12-18 | uniq | wc -l
>
> Hmm, a build process for svn that relies on running svn, could be
> interesting...

How about:

find . -type d -name .svn -exec fgrep ' revision="' {}/entries \; | \
  sed -e 's/.*"\(.*\)"\/>/\1/' | uniq | wc -l

Crude, but effective. ;-)

-- 
Edward S. Marshall <esm@logic.net>
http://esm.logic.net/

Received on Tue Nov 26 22:48:07 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.