mercurial/context.py
changeset 36704 470df8c5b781
parent 36690 b529e640015d
child 36705 c6901665cd5b
equal deleted inserted replaced
36703:7dc1a21d57cc 36704:470df8c5b781
    51 )
    51 )
    52 from .utils import dateutil
    52 from .utils import dateutil
    53 
    53 
    54 propertycache = util.propertycache
    54 propertycache = util.propertycache
    55 
    55 
    56 nonascii = re.compile(r'[^\x21-\x7f]').search
    56 nonascii = re.compile(br'[^\x21-\x7f]').search
    57 
    57 
    58 class basectx(object):
    58 class basectx(object):
    59     """A basectx object represents the common logic for its children:
    59     """A basectx object represents the common logic for its children:
    60     changectx: read-only context that is already present in the repo,
    60     changectx: read-only context that is already present in the repo,
    61     workingctx: a context that represents the working directory and can
    61     workingctx: a context that represents the working directory and can