##// END OF EJS Templates
fileset: add hgignore
Matt Mackall -
r14680:49af5fa3 default
parent child Browse files
Show More
@@ -189,6 +189,11 b' def unresolved(mctx, x):'
189 189 ms = merge.mergestate(mctx.ctx._repo)
190 190 return [f for f in mctx.subset if f in ms and ms[f] == 'u']
191 191
192 def hgignore(mctx, x):
193 getargs(x, 0, 0, _("hgignore takes no arguments"))
194 ignore = mctx.ctx._repo.dirstate._ignore
195 return [f for f in mctx.subset if ignore(f)]
196
192 197 symbols = {
193 198 'added': added,
194 199 'binary': binary,
@@ -196,6 +201,7 b' symbols = {'
196 201 'deleted': deleted,
197 202 'exec': exec_,
198 203 'ignored': ignored,
204 'hgignore': hgignore,
199 205 'modified': modified,
200 206 'removed': removed,
201 207 'resolved': resolved,
General Comments 0
You need to be logged in to leave comments. Login now