[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: Giovanni Bajo <rasky_at_develer.com>
Date: 2007-09-29 13:56:57 CEST

On Fri, 28 Sep 2007 16:34:16 -0700, "David Glasser"
<glasser@davidglasser.net> 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?

+1. I hope you have verified that --non-interactive is accepted for "svn
merge" by released versions :)

-- 
Giovanni Bajo
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Sep 29 13:57:12 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.