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

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

From: David Glasser <glasser_at_davidglasser.net>
Date: 2007-09-29 01:34:16 CEST

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?

--dave

-- 
David Glasser | glasser_at_davidglasser.net | http://www.davidglasser.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Sep 29 01:34:30 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.