Chris Tashjian wrote on Wed, Dec 22, 2010 at 11:34:03 -0500:
> >
> > For some client-side Tortoise hooks (which are for the purpose of
> > preventing people shoot themselves in the head in all the myriad ways
> > Subversion allows), I need to get the ancestor-branch, ie where the current
> > branch/tag was copied from.
> >
> 
> When I create a new branch I add an svn:property, such as "base-tag", to the
> new branch with a reference to the old branch.  Then all you need to do on a
> given branch is "svn propget base-tag <BRANCH_URL>"
> 
> It's a manual process to add it, but I find it saves a lot of time (and
> question answering) later.

Plus, since creating a tag is typically a URL-to-URL (or WC-to-URL) copy
operation, the usual warning against modifying transactions from the
pre-commit hook does not apply...

IOW, the pre-commit hook could add that (versioned) property.

Reply via email to