##// END OF EJS Templates
localrepo: specify optional callback parameter to pathauditor as a keyword
Augie Fackler -
r35118:ebabc4a8 default
parent child Browse files
Show More
@@ -366,9 +366,10 b' class localrepository(object):'
366 self.origroot = path
366 self.origroot = path
367 # These auditor are not used by the vfs,
367 # These auditor are not used by the vfs,
368 # only used when writing this comment: basectx.match
368 # only used when writing this comment: basectx.match
369 self.auditor = pathutil.pathauditor(self.root, self._checknested)
369 self.auditor = pathutil.pathauditor(
370 self.nofsauditor = pathutil.pathauditor(self.root, self._checknested,
370 self.root, callback=self._checknested)
371 realfs=False, cached=True)
371 self.nofsauditor = pathutil.pathauditor(
372 self.root, callback=self._checknested, realfs=False, cached=True)
372 self.baseui = baseui
373 self.baseui = baseui
373 self.ui = baseui.copy()
374 self.ui = baseui.copy()
374 self.ui.copy = baseui.copy # prevent copying repo configuration
375 self.ui.copy = baseui.copy # prevent copying repo configuration
General Comments 0
You need to be logged in to leave comments. Login now