Show More
@@ -291,11 +291,14 b' def showextras(context, mapping):' | |||
|
291 | 291 | return _hybrid(f, extras, makemap, |
|
292 | 292 | lambda k: '%s=%s' % (k, stringutil.escapestr(extras[k]))) |
|
293 | 293 | |
|
294 | def _getfilestatus(context, mapping): | |
|
294 | def _getfilestatus(context, mapping, listall=False): | |
|
295 | 295 | ctx = context.resource(mapping, 'ctx') |
|
296 | 296 | revcache = context.resource(mapping, 'revcache') |
|
297 | if 'filestatus' not in revcache: | |
|
298 | revcache['filestatus'] = ctx.p1().status(ctx) | |
|
297 | if 'filestatus' not in revcache or revcache['filestatusall'] < listall: | |
|
298 | stat = ctx.p1().status(ctx, listignored=listall, listclean=listall, | |
|
299 | listunknown=listall) | |
|
300 | revcache['filestatus'] = stat | |
|
301 | revcache['filestatusall'] = listall | |
|
299 | 302 | return revcache['filestatus'] |
|
300 | 303 | |
|
301 | 304 | def _showfilesbystat(context, mapping, name, index): |
General Comments 0
You need to be logged in to leave comments.
Login now