Re: How to get the parent branch...
> 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.
Received on 2010-12-22 17:35:06 CET
This is an archived mail posted to the Subversion Users