Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-tools.git;a=commitdiff;h=5176b4b51669e9f308828f2cba5c4c7475e23465

commit 5176b4b51669e9f308828f2cba5c4c7475e23465
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Mon Nov 12 12:42:06 2007 +0100

dg: if there are no changes to pull/push, that's not an error

diff --git a/darcs-git.py b/darcs-git.py
index 3a0056b..f186f3e 100755
--- a/darcs-git.py
+++ b/darcs-git.py
@@ -565,7 +565,7 @@ Options:
ret = sock.close()
if not len(lines):
print "No recorded local changes to push!"
-               return
+               return 0
print "".join(lines)
if not options.all:
while True:
@@ -625,7 +625,7 @@ Options:
ret = sock.close()
if not len(lines):
print "No remote changes to pull!"
-               return
+               return 0
print "".join(lines)
if not options.all:
while True:
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to