mercurial/fileset.py
changeset 27518 737ffdabbde9
parent 27464 c39ecb2b86b3
child 28056 4f8ced23345e
equal deleted inserted replaced
27517:c60a9c16ae25 27518:737ffdabbde9
   126     xl = getset(mctx, x)
   126     xl = getset(mctx, x)
   127     yl = set(getset(mctx, y))
   127     yl = set(getset(mctx, y))
   128     return [f for f in xl if f not in yl]
   128     return [f for f in xl if f not in yl]
   129 
   129 
   130 def listset(mctx, a, b):
   130 def listset(mctx, a, b):
   131     raise error.ParseError(_("can't use a list in this context"))
   131     raise error.ParseError(_("can't use a list in this context"),
       
   132                            hint=_('see hg help "filesets.x or y"'))
   132 
   133 
   133 # symbols are callable like:
   134 # symbols are callable like:
   134 #  fun(mctx, x)
   135 #  fun(mctx, x)
   135 # with:
   136 # with:
   136 #  mctx - current matchctx instance
   137 #  mctx - current matchctx instance