[Svnmerge] [PATCH] Allow multiple 'svnmerge init's in a singlerevision

Madan U S madan at collab.net
Wed Apr 5 12:52:18 PDT 2006


On Wednesday 05 Apr 2006 4:30 pm, Giovanni Bajo wrote:
> Madan U S <madan at collab.net> wrote:
> > [[[
> > Allow multiple 'svnmerge init' commands (with differing copyfrom
> > parameters, of course) in a single revision.
> >
> > * contrib/client-side/svnmerge.py
> >   (check_dir_clean): Modified to error out, only if the change is NOT
> >   just another modification of the svnmerge-integrated property.
> >   IOW, dont error out, if the only other change in the working copy
> >   is an svnmerge-integrated property change.
> > ]]]
>
> What's the rationale of this patch? You can use --force to achieve the
> same.

When using a svnmerge command, a --force would be to override a non-svnmerge action. The user should not have to worry about the changes that are made by svnmerge. He has to use --force only when some unrelated change has happened and he has to override that change.

Also, by doing this, the user can issue a series of 'svnmerge init' (on various branches) before doing a commit. This helps keep down the number of empty revisions. This also makes it simpler to use the 'svnmerge init' command (Otherwise, the user has to do a 'svnmerge init', followed by a series of 'svnmerge init --force') during the course a simple admin task - setting up a repository for merge tracking for the first time.


Regards,
Madan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/svnmerge/attachments/20060406/d87a3039/attachment.htm 


More information about the Svnmerge mailing list