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

Re: Am I at the _start_ of a branch ?

From: Ron Wilson <ronw.mrmx_at_gmail.com>
Date: Wed, 10 Nov 2010 15:43:18 -0500

I do not know if you can do that, however, if there are only a limited
number of people who would be allowed to create a release, and you
trust those people to follow the rules, you could check who made the
commit to that branch, then only use the release number if the commit
author was one of the allowed developpers.

On Wed, Nov 10, 2010 at 12:04 PM, Richard M Willis
<RichardW_at_pulsar-pm.com> wrote:
> 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 ?

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-11-10 21:43:27 CET

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