Mercurial > public > mercurial-scm > hg
comparison mercurial/commands.py @ 22552:bb14cca8c4e4
files: correct topic of formatter
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 21 Sep 2014 12:38:47 +0900 |
parents | e6e7ef68c879 |
children | 67b6b82a6bbe |
comparison
equal
deleted
inserted
replaced
22551:8d707da26f9b | 22552:bb14cca8c4e4 |
---|---|
3141 ret = 1 | 3141 ret = 1 |
3142 | 3142 |
3143 end = '\n' | 3143 end = '\n' |
3144 if opts.get('print0'): | 3144 if opts.get('print0'): |
3145 end = '\0' | 3145 end = '\0' |
3146 fm = ui.formatter('status', opts) | 3146 fm = ui.formatter('files', opts) |
3147 fmt = '%s' + end | 3147 fmt = '%s' + end |
3148 | 3148 |
3149 m = scmutil.match(ctx, pats, opts) | 3149 m = scmutil.match(ctx, pats, opts) |
3150 for f in ctx.walk(m): | 3150 for f in ctx.walk(m): |
3151 if rev is None and repo.dirstate[f] in 'R?!': | 3151 if rev is None and repo.dirstate[f] in 'R?!': |