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

Re: Naughty commits to tags

From: Daniel Patterson <danpat_at_danpat.net>
Date: 2004-10-13 23:56:53 CEST

Ben Reser wrote:

>On Wed, Oct 13, 2004 at 10:56:07PM +1000, Daniel Patterson wrote:
>
>
>>(there are some naughty looking tag modifications in there ;-) )
>>
>>
>
>* Applying the svn_version.h changes to the branch and then committing
>also only works if you can guarantee that no other commits happen on the
>branch between when you commit the last change going in the rev (your
>export rev), the change to svn_version.h, the tag revision, and the
>bumping of svn_version.h to the dev version of next release number.
>
>
>
That's a good thing to avoid. Has anyone considered calculating the
version number
based on a "$HeadURL$" keyword? (Work out if it's trunk or a tag at
build time)

I can't think of a good way to say "Subversion DEV build from Trunk at
Rev 11355"
 without having a new keyword like "$WCRev$" that gets updated on every
"svn up" ($LastChangedRevision$ doesn't quite do it, unless you update
the file on every commit).

daniel

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 13 23:59:44 2004

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