comparison 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
comparison
equal deleted inserted replaced
39314:7f5e6d3e9032 39315:57c3864f3aad
1063 1063
1064 while tmfnodes: 1064 while tmfnodes:
1065 tree, nodes = tmfnodes.popitem() 1065 tree, nodes = tmfnodes.popitem()
1066 store = mfl.getstorage(tree) 1066 store = mfl.getstorage(tree)
1067 1067
1068 if not self._filematcher.visitdir(store._tree[:-1] or '.'): 1068 if not self._filematcher.visitdir(store.tree[:-1] or '.'):
1069 prunednodes = [] 1069 prunednodes = []
1070 else: 1070 else:
1071 frev, flr = store.rev, store.linkrev 1071 frev, flr = store.rev, store.linkrev
1072 prunednodes = [n for n in nodes 1072 prunednodes = [n for n in nodes
1073 if flr(frev(n)) not in commonrevs] 1073 if flr(frev(n)) not in commonrevs]