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

Am I at the _start_ of a branch ?

From: Richard M Willis <RichardW_at_pulsar-pm.com>
Date: Wed, 10 Nov 2010 09:04:45 -0800 (PST)

I need to get my build process automated so that the subversion revision number is somehow compiled into my deliverables. I need it to either give a revision number or "no number at all" if either the WC is mixed-revision or has local modifcations. This I can do with SubWCRev.

However, I also want to include this process to get the "release number" and use that in place of or in addition to the above number if it has one

The definition of "has a release number" is that the WC should have been checked out from a URL ending branches/releases/x_y_z. This I can do also with SubWCRev as that delivers the URL. However, the release/x_y_z branch won't naturally have "just one" revision in it. I will eventually prevent people committing more than one revision to a given release sub branch with a PostCommit hook. Until then, however, I want to be able to tell programmatically that the checked-out revision comes from the *first* commit to that branch; all subsequent ones I want to treat as if they had no particular release number ?

How to do this ?
Can it be done without contacting the server ?

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2680758

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-11-10 18:04:52 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.