hgext/convert/darcs.py
changeset 5412 fbf40ad5a8c2
parent 5411 d5df426bd68a
child 5481 003d1f174fe1
child 5497 f0a3918abd42
--- a/hgext/convert/darcs.py	Sun Oct 07 18:58:54 2007 +0200
+++ b/hgext/convert/darcs.py	Sun Oct 07 18:59:03 2007 +0200
@@ -100,15 +100,15 @@
                       desc=desc.strip(), parents=self.parents[rev])
 
     def pull(self, rev):
-        output, status = self.run('pull %r --all --match="hash %s"' %
-                                  (self.path, rev),
+        output, status = self.run('pull', self.path, '--all',
+                                  '--match', 'hash %s' % rev,
                                   '--no-test', '--no-posthook',
-                                  '--external-merge=/bin/false',
+                                  '--external-merge', '/bin/false',
                                   repodir=self.tmppath)
         if status:
             if output.find('We have conflicts in') == -1:
                 self.checkexit(status, output)
-            output, status = self.run('revert --all', repodir=self.tmppath)
+            output, status = self.run('revert', '--all', repodir=self.tmppath)
             self.checkexit(status, output)
 
     def getchanges(self, rev):