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

commit 1f6c4f2915de50f63243aa2d1897f0d50a69c58c
Author: Miklos Vajna <[email protected]>
Date:   Mon Nov 25 08:18:21 2013 +0100

dg tag: better error message when tag contains spaces

before:
fatal: too many params
after:
fatal: 'foo bar' is not a valid tag name.

diff --git a/darcs-git.py b/darcs-git.py
index c4bf90f..878b5a5 100755
--- a/darcs-git.py
+++ b/darcs-git.py
@@ -850,7 +850,7 @@ Options:
msg = " ".join(argv[:2])
else:
msg = argv[0]
-       ret += os.system("git tag -a -m '%s' %s" % (msg, argv[-1]))
+       ret += os.system("git tag -a -m '%s' '%s'" % (msg, argv[-1]))
return ret

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

Reply via email to