[Svnmerge] Automating merge tracking initialization
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>
> On Wed, Apr 23, 2008 at 2:08 PM, Rohan Joseph <rohanjoseph at gmail.com>
> > I am a relatively new user to svnmerge.py and I am
> > 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
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?
> Storage Software Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Svnmerge