Mercurial > hg > mercurial-crew
diff hgext/transplant.py @ 14382:2d16f15da7bd
patch: remove patch.patch() cwd argument
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Thu, 19 May 2011 22:44:01 +0200 |
parents | b33f3e35efb0 |
children | bdf44e63a94c |
line wrap: on
line diff
--- a/hgext/transplant.py +++ b/hgext/transplant.py @@ -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))