[Svnmerge] Automating merge tracking initialization

Dustin J. Mitchell dustin at zmanda.com
Wed Apr 23 11:42:38 PDT 2008


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.

Dustin

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



More information about the Svnmerge mailing list