[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] svnmerge needs to use --non-interactive

From: Daniel L. Rall <dlr_at_finemaltcoding.com>
Date: 2007-09-29 17:33:57 CEST

On Sat, 29 Sep 2007, David Glasser wrote:

> On 9/28/07, Daniel L. Rall <dlr@finemaltcoding.com> wrote:
> > On Fri, 28 Sep 2007, Daniel L. Rall wrote:
> >
> > > On Fri, 28 Sep 2007, David Glasser wrote:
> > >
> > > > In trunk svn, "svn merge" can produce a prompt for conflicts, breaking
> > > > svnmerge.py (which hides IO from the user). Ideally, the user should
> > > > just be able to use the conflict handler during svnmerge.py's call to
> > > > "svn merge", but at the very least it shouldn't hang. This appears to
> > > > work:
> > > >
> > > >
> > > > ===================================================================
> > > > --- contrib/client-side/svnmerge/svnmerge.py (revision 26831)
> > > > +++ contrib/client-side/svnmerge/svnmerge.py (working copy)
> > > > @@ -298,7 +298,7 @@ def launchsvn(s, show=False, pretend=Fal
> > > > password = " --password=" + password
> > > > else:
> > > > password = ""
> > > > - cmd = opts["svn"] + username + password + " " + s
> > > > + cmd = opts["svn"] + " --non-interactive " + username + password + " " + s
> > > > if show or opts["verbose"] >= 2:
> > > > print cmd
> > > > if pretend:
> > > >
> > > >
> > > >
> > > > Should I commit this?
> > >
> > > Looks good to me. There is a separate svnmerge.py mailing list;
> > > you might want to run it up the flagpole there as well.
> >
> > Ah, you did include the other list address, sorry for the noise.
>
> Well, I did CC it, but I think I am getting moderated since I'm not on it.

Yes, I didn't see it go through. When I try emailing it from unsub'd
addresses, my mails are immediately rejected (no moderation queue).
Anyhow, Giovanni's comment is good 'nuff for this change.

-- 
Daniel Rall

  • application/pgp-signature attachment: stored
Received on Sat Sep 29 17:34:19 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.