hgext/narrow/narrowdirstate.py
changeset 43077 687b865b95ad
parent 43076 2372284d9457
child 47593 f927ad5a4e2c
equal deleted inserted replaced
43076:2372284d9457 43077:687b865b95ad
    19             narrowmatch = repo.narrowmatch()
    19             narrowmatch = repo.narrowmatch()
    20             for f in args:
    20             for f in args:
    21                 if f is not None and not narrowmatch(f) and f not in self:
    21                 if f is not None and not narrowmatch(f) and f not in self:
    22                     raise error.Abort(
    22                     raise error.Abort(
    23                         _(
    23                         _(
    24                             "cannot track '%s' - it is outside "
    24                             b"cannot track '%s' - it is outside "
    25                             + "the narrow clone"
    25                             + b"the narrow clone"
    26                         )
    26                         )
    27                         % f
    27                         % f
    28                     )
    28                     )
    29             return fn(self, *args, **kwargs)
    29             return fn(self, *args, **kwargs)
    30 
    30