# HG changeset patch # User Yuya Nishihara # Date 1530970369 -32400 # Node ID a915db9a5e7776c9dbdb961ccbd782d9ca770616 # Parent d2d89d31cbb5874b9b10cc26e6765ec8ba493106 commit: add debug message regarding manifest reuse diff -r d2d89d31cbb5 -r a915db9a5e77 mercurial/localrepo.py --- 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 = [] diff -r d2d89d31cbb5 -r a915db9a5e77 tests/test-convert-svn-encoding.t --- a/tests/test-convert-svn-encoding.t Sun Aug 12 12:16:08 2018 +0900 +++ b/tests/test-convert-svn-encoding.t Sat Jul 07 22:32:49 2018 +0900 @@ -52,6 +52,7 @@ 5 init projA source: svn:afeb9c47-92ff-4c0c-9f72-e1f6eb8ac9af/trunk@1 converting: 0/6 revisions (0.00%) + reusing manifest from p1 (no file change) committing changelog updating the branch cache 4 hello @@ -118,6 +119,7 @@ converting: 4/6 revisions (66.67%) reparent to file:/*/$TESTTMP/svn-repo/branches/branch%C3%A9 (glob) scanning paths: /branches/branch\xc3\xa9 0/1 paths (0.00%) (esc) + reusing manifest from p1 (no file change) committing changelog updating the branch cache 0 branch to branch?e @@ -125,6 +127,7 @@ converting: 5/6 revisions (83.33%) reparent to file:/*/$TESTTMP/svn-repo/branches/branch%C3%A9e (glob) scanning paths: /branches/branch\xc3\xa9e 0/1 paths (0.00%) (esc) + reusing manifest from p1 (no file change) committing changelog updating the branch cache reparent to file:/*/$TESTTMP/svn-repo (glob)