mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 00:14:35 +03:00
context: introduce the nullsub() method
Ultimately, this will be used by scmutil. The subrepo module already imports it, so it can't import the subrepo module to access the underlying method.
This commit is contained in:
parent
ddab23309c
commit
23a0164ef3
@ -251,6 +251,9 @@ class basectx(object):
|
||||
def sub(self, path):
|
||||
return subrepo.subrepo(self, path)
|
||||
|
||||
def nullsub(self, path, pctx):
|
||||
return subrepo.nullsubrepo(self, path, pctx)
|
||||
|
||||
def match(self, pats=[], include=None, exclude=None, default='glob',
|
||||
listsubrepos=False):
|
||||
r = self._repo
|
||||
|
Loading…
Reference in New Issue
Block a user