diff mercurial/changegroup.py @ 39315:57c3864f3aad

manifest: make tree a public attribute changegroup generation accesses this attribute. We should make it public and expose it on the interface. Differential Revision: https://phab.mercurial-scm.org/D4387
author Gregory Szorc <gregory.szorc@gmail.com>
date Wed, 15 Aug 2018 16:50:44 +0000
parents 73cf21b2e8a6
children 9b07ee0a1054
line wrap: on
line diff
--- a/mercurial/changegroup.py	Mon Aug 27 10:15:15 2018 -0700
+++ b/mercurial/changegroup.py	Wed Aug 15 16:50:44 2018 +0000
@@ -1065,7 +1065,7 @@
             tree, nodes = tmfnodes.popitem()
             store = mfl.getstorage(tree)
 
-            if not self._filematcher.visitdir(store._tree[:-1] or '.'):
+            if not self._filematcher.visitdir(store.tree[:-1] or '.'):
                 prunednodes = []
             else:
                 frev, flr = store.rev, store.linkrev