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

David James djames at collab.net
Mon Mar 27 20:39:52 PST 2006


On 3/27/06, Blair Zajac <blair at orcaware.com> wrote:
>
> 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?

Go for it. I think this would be a handy option.

Cheers,

David

--
David James -- http://www.cs.toronto.edu/~james




More information about the Svnmerge mailing list