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

commit 108d19785328a8039b5d2012e9fc5e183b076991
Author: VMiklos <[EMAIL PROTECTED]>
Date:   Tue Sep 18 00:51:38 2007 +0200

dg revert: use git apply -R instead of patch -p1 -R

diff --git a/darcs-git.py b/darcs-git.py
index 80b58f2..fc10721 100755
--- a/darcs-git.py
+++ b/darcs-git.py
@@ -419,7 +419,7 @@ Options:
p = []
if i.picked == True:
p.append(i.text)
-               sock = os.popen("patch -p1 -R >/dev/null", "w")
+               sock = os.popen("git apply -R >/dev/null", "w")
sock.write("".join(p))
sock.close()
# we need git reset too if we revert deleted files
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to