##// END OF EJS Templates
merge: skip syntactic path checks in [_checkunknownfile]...
merge: skip syntactic path checks in [_checkunknownfile] We don't need to check the paths syntactically, since they are coming from diffing the revisions, so hopefully already checked on the way in. We still need to check what's on the filesystem, to avoid traversing the symlinks or subdirs, which we can't know about statically. Also, we use the directory audit to elide [isfileorlink], this removing ~all lstat calls from hg updates from-empty.

File last commit:

r49730:6000f5b2 default
r50804:b7cf91ef default
Show More
repoviewutil.py
23 lines | 757 B | text/x-python | PythonLexer
repoview: move subsettable in a dedicated module...
r42314 # repoviewutil.py - constaints data relevant to repoview.py and other module
#
# Copyright 2012 Pierre-Yves David <pierre-yves.david@ens-lyon.org>
# Logilab SA <contact@logilab.fr>
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2 or any later version.
### Nearest subset relation
# Nearest subset of filter X is a filter Y so that:
# * Y is included in X,
# * X - Y is as small as possible.
# This create and ordering used for branchmap purpose.
# the ordering may be partial
Augie Fackler
formatting: blacken the codebase...
r43346 subsettable = {
Augie Fackler
formatting: byteify all mercurial/ and hgext/ string literals...
r43347 None: b'visible',
b'visible-hidden': b'visible',
b'visible': b'served',
b'served.hidden': b'served',
b'served': b'immutable',
b'immutable': b'base',
Augie Fackler
formatting: blacken the codebase...
r43346 }