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

RE: question about 'svnversion -c'

From: Rob Hubbard <rob.hubbard_at_softel.co.uk>
Date: Mon, 22 Dec 2008 10:24:32 -0000

> I think the '-c' output should be a single value, not a range.

I don't agree. The existing behaviour is correct, and more useful. If
you're only interested in the most recent commit value, that could be
extracted with a command such as:

        $ svnversion -c | grep --only-matching "[0-9]\+" | tail -1

(I can perhaps see an argument for having the behaviour you prefer as an
option to svnversion.)

Rob.

________________________________________________________________
This message has been independently scanned for the Softel Group and cleared of containing viruses and other malicious data.

Powering Television Beyond the Video (TM)

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=989620

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2008-12-22 11:25:34 CET

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.