[Svnmerge] [PATCH] Prompt for source branch when multiple sourcesexist

Blair Zajac blair at orcaware.com
Mon Mar 27 20:23:27 PST 2006


On Mar 24, 2006, at 4:05 PM, Giovanni Bajo wrote:

> Jim Lawton <jim.lawton at gmail.com> wrote:
>
>> Firstly, thanks for svnmerge.py, it's extremely useful.
>>
>> I've attached a small patch (against r19012) which prompts the user
>> to select a source (head) if multiple sources are found. This is very
>> convenient
>> for my users,
>> but I appreciate it may not be to everyone's taste, so feel free to
>> ignore it 8-).
>>
>> This is my first time submitting a patch, so apologies in advance if
>> I haven't packaged it correctly.
>
>
> Hi Jim, thanks for the patch. Personally, I'm -1 on interactive  
> prompts in
> programs like svnmerge.py. But we can still do something to improve  
> user
> experience. For instance, what if svnmerge.py displayed the list of  
> multiple
> heads on the screen, so that the user can simply cut & paste it  
> into the
> command line? In fact, the errore message that asks to use --head  
> is a little
> unhelpful: people have to look at svnmerge-integrated to find out  
> what to do.

I like the idea of asking and showing the available heads and running  
the command with the correct one.

Maybe we should add a -i option for interactive use?

Blair

-- 
Blair Zajac, Ph.D.
<blair at orcaware.com>
Subversion training, consulting and support
http://www.orcaware.com/svn/





More information about the Svnmerge mailing list