[Svnmerge] problems with added files

Blair Zajac blair at orcaware.com
Thu Jan 4 13:31:36 PST 2007


Daniel Rall wrote:
> On Wed, 20 Dec 2006, Blair Zajac wrote:
> 
>> Jack Repenning wrote:
>>> On Dec 20, 2006, at 7:30 AM, Konstantin Sobolev wrote:
>>>
>>>> A thousand apologies! I somehow had that files as unversioned files in
>>>> by branch WC. I don't know if it is possible, but a warning in such
>>>> cases would would be great.
>>> If you're merging over a versioned file that collides with an  
>>> unversioned file in the receiving working copy, you _should_ get an  
>>> error, shouldn't you?  You certainly do if you update and run into  
>>> the same situation.
>> svnmerge.py doesn't check for any unversioned files in the working
>> copy, and I think it should do that.  It should only allow the
>> svnmerge-commit-message.txt to exist in the directory.
> 
> I think we could detect this info via the same 'svn status' call used
> to scan the WC for local mods.  A warning might be better than a hard
> error for this case, however.

I run svnmere.py so often and some of the merges are pretty big, unless you were 
to scroll up and look for them, you would miss it, so I would rather see a hard 
error.

Beyond a hard error, which I do prefer, we could have svnmerge.py print at the 
end of running that the working copy wasn't clean at the end, so you wouldn't 
miss the error, much like how tar or rsync do.

Regards,
Blair




More information about the Svnmerge mailing list