mercurial/match.py
changeset 29389 98e8313dcd9e
parent 28128 92f2c69ee5a5
child 29758 2372182e505b
equal deleted inserted replaced
29388:f694e20193f2 29389:98e8313dcd9e
    36     other = []
    36     other = []
    37 
    37 
    38     for kind, pat, source in kindpats:
    38     for kind, pat, source in kindpats:
    39         if kind == 'set':
    39         if kind == 'set':
    40             if not ctx:
    40             if not ctx:
    41                 raise error.Abort("fileset expression with no context")
    41                 raise error.Abort(_("fileset expression with no context"))
    42             s = ctx.getfileset(pat)
    42             s = ctx.getfileset(pat)
    43             fset.update(s)
    43             fset.update(s)
    44 
    44 
    45             if listsubrepos:
    45             if listsubrepos:
    46                 for subpath in ctx.substate:
    46                 for subpath in ctx.substate: