hgext/transplant.py
changeset 14382 2d16f15da7bd
parent 14319 b33f3e35efb0
child 14393 bdf44e63a94c
--- a/hgext/transplant.py	Thu May 19 22:44:01 2011 +0200
+++ b/hgext/transplant.py	Thu May 19 22:44:01 2011 +0200
@@ -227,8 +227,7 @@
         if patchfile:
             try:
                 files = {}
-                patch.patch(self.ui, repo, patchfile, cwd=repo.root,
-                            files=files, eolmode=None)
+                patch.patch(self.ui, repo, patchfile, files=files, eolmode=None)
                 files = list(files)
                 if not files:
                     self.ui.warn(_('%s: empty changeset') % revlog.hex(node))