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

Why does `svnversion -c` give me a range?

From: Cooke, Mark <mark.cooke_at_siemens.com>
Date: Wed, 4 Dec 2013 13:00:41 +0100

Hi Folks,

I would like to include the svn revision number in my project's version info but I am confused by the results of svnversion. I want the version number of a tagged tree to always be the same (i.e. the last commit to the tag) but if the tag is to be rebuilt using a fresh checkout some time later `svnversion` seems to report the HEAD revision. So I looked at `svnversion -c` but this always seems to give me a range e.g. `2:1476`, even directly after an update.

I have read the red book but it is quite vague about the -c option. Why is `-c` always giving me a range?

Many thanks,

~ mark c
Received on 2013-12-04 13:01:24 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.