[Svnmerge] Automating merge tracking initialization

Rohan Joseph rohanjoseph at gmail.com
Wed Apr 23 11:51:59 PDT 2008


On Wed, Apr 23, 2008 at 1:42 PM, Dustin J. Mitchell <dustin at zmanda.com>
wrote:

> On Wed, Apr 23, 2008 at 2:08 PM, Rohan Joseph <rohanjoseph at gmail.com>
> wrote:
> >              I am a relatively new user to svnmerge.py and I am
> currently
> > attempting to automate the process of initializing merge tracking on any
> > directory. I have been reading through some threads and there seems to
> be an
> > agreed-upon notion that the best time to start merge tracking is when a
> > branch is just created (pristine, no local modifications). Is there a
> way to
> > automatically run 'svnmerge.py init BRANCH_URL' the moment the branch is
> > created?
>
> You could probably do it with a post-commit script, but detecting
> branch creation in general is fairly hard.  Your specific case may be
> a lot easier.  I haven't heard of anyone doing this before, though.
>
> You may be better off just setting the relevant svn properties
> directly from your post-commit script, rather than invoking svnmerge
> directly.


Yes, I could set the 'svnmerge-integrated'  property myself , but what about
scanning the branch history and making note of the revision number at which
the branch was created? Is there  a way to do that as well?

>
>
> Dustin
>
> --
> Storage Software Engineer
> http://www.zmanda.com
>



-- 
Best Regards,

Rohan Joseph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/svnmerge/attachments/20080423/9ee2610c/attachment.html>


More information about the Svnmerge mailing list