comparison hgsubversion/util.py @ 1596:04a24a13960f

util: add visitdir() and visitchildrenset() to PrefixMatch This is done to be compatible with treemanifest repositories.
author Pulkit Goyal <pulkit@yandex-team.ru>
date Tue, 20 Nov 2018 15:37:06 +0300
parents d6b75cf2c27d
children
comparison
equal deleted inserted replaced
1595:74c5fd9c3e76 1596:04a24a13960f
247 return True 247 return True
248 248
249 def prefix(self): 249 def prefix(self):
250 return False 250 return False
251 251
252 def visitdir(self, dir):
253 return True
254
255 def visitchildrenset(self, dir):
256 return 'this'
257
252 def outgoing_revisions(repo, reverse_map, sourcerev): 258 def outgoing_revisions(repo, reverse_map, sourcerev):
253 """Given a repo and an hg_editor, determines outgoing revisions for the 259 """Given a repo and an hg_editor, determines outgoing revisions for the
254 current working copy state. 260 current working copy state.
255 """ 261 """
256 outgoing_rev_hashes = [] 262 outgoing_rev_hashes = []