diff hgext/record.py @ 14370:17cea10c343e

patch: add a workingbackend dirstate layer on top of fsbackend _updatedir() is no longer used by internalpatch() The change in test-mq-missingfiles.t comes from workingbackend not considering the missing 'b' file as changed, thus not calling addremove() on it.
author Patrick Mezard <pmezard@gmail.com>
date Wed, 18 May 2011 23:48:17 +0200
parents 00a881581400
children 51cabd567ac6
line wrap: on
line diff
--- a/hgext/record.py	Wed May 18 23:48:13 2011 +0200
+++ b/hgext/record.py	Wed May 18 23:48:17 2011 +0200
@@ -477,8 +477,7 @@
                 try:
                     ui.debug('applying patch\n')
                     ui.debug(fp.getvalue())
-                    patch.internalpatch(ui, repo, fp, 1, repo.root,
-                                        eolmode=None)
+                    patch.internalpatch(ui, repo, fp, 1, eolmode=None)
                 except patch.PatchError, err:
                     raise util.Abort(str(err))
             del fp