hgext/record.py
changeset 14260 00a881581400
parent 14259 df9ccd39828c
child 14370 17cea10c343e
--- a/hgext/record.py	Sun May 08 17:48:30 2011 +0200
+++ b/hgext/record.py	Sun May 08 17:48:31 2011 +0200
@@ -477,12 +477,8 @@
                 try:
                     ui.debug('applying patch\n')
                     ui.debug(fp.getvalue())
-                    pfiles = {}
-                    try:
-                        patch.internalpatch(fp, ui, 1, repo.root, files=pfiles,
-                                            eolmode=None)
-                    finally:
-                        patch.updatedir(ui, repo, pfiles)
+                    patch.internalpatch(ui, repo, fp, 1, repo.root,
+                                        eolmode=None)
                 except patch.PatchError, err:
                     raise util.Abort(str(err))
             del fp