diff mercurial/localrepo.py @ 39109:a915db9a5e77

commit: add debug message regarding manifest reuse
author Yuya Nishihara <yuya@tcha.org>
date Sat, 07 Jul 2018 22:32:49 +0900
parents ac0a87160012
children 46da52f4b820
line wrap: on
line diff
--- a/mercurial/localrepo.py	Sun Aug 12 12:16:08 2018 +0900
+++ b/mercurial/localrepo.py	Sat Jul 07 22:32:49 2018 +0900
@@ -2052,6 +2052,7 @@
 
             if ctx.manifestnode():
                 # reuse an existing manifest revision
+                self.ui.debug('reusing known manifest\n')
                 mn = ctx.manifestnode()
                 files = ctx.files()
             elif ctx.files():
@@ -2100,6 +2101,7 @@
                                 added, drop)
                 files = changed + removed
             else:
+                self.ui.debug('reusing manifest from p1 (no file change)\n')
                 mn = p1.manifestnode()
                 files = []