Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-tools.git;a=commitdiff;h=c08a0d58a88b1dd25135a9713445585e4daa9a11
commit c08a0d58a88b1dd25135a9713445585e4daa9a11 Author: Miklos Vajna <[EMAIL PROTECTED]> Date: Wed Apr 9 15:58:17 2008 +0200 dg: redirect bogus 'error: No changes' messages to devnull diff --git a/darcs-git.py b/darcs-git.py index 5ccca17..e9e10a9 100755 --- a/darcs-git.py +++ b/darcs-git.py @@ -349,7 +349,7 @@ Options: for i in newlist: os.system("git reset HEAD %s" % i) for i in dellist: - sock = os.popen("git apply --cached -R", "w") + sock = os.popen("git apply --cached -R 2>/dev/null", "w") sock.write(i) sock.close() os.system("""git commit -m '%s' %s %s""" % @@ -438,7 +438,7 @@ Options: p = [] if i.picked == True: p.append(i.text) - sock = os.popen("git apply -R >/dev/null", "w") + sock = os.popen("git apply -R 2>/dev/null", "w") sock.write("".join(p)) sock.close() # we need git reset too if we revert deleted files _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git