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

commit 219d5f04453026e47eb10780ea2cc59f10539e42
Author: VMiklos <[EMAIL PROTECTED]>
Date:   Mon Sep 10 13:18:09 2007 +0200

push(): don't run git fetch if push failed

diff --git a/darcs-git.py b/darcs-git.py
index 25f39fb..0a9b60b 100755
--- a/darcs-git.py
+++ b/darcs-git.py
@@ -554,9 +554,10 @@ Options:
sys.exit(0)
print "Invalid response, try again!"
ret = os.system("git push %s" % options.gitopts)
-       os.system("git fetch")
if ret:
sys.exit(1)
+       else:
+               os.system("git fetch")

def pull(argv):
def usage(ret):
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to