equal
deleted
inserted
replaced
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 |