mercurial/commands.py
changeset 22593 ec47d4fde26d
parent 22592 ff3ccc592af4
child 22594 1257cc6c1a2f
equal deleted inserted replaced
22592:ff3ccc592af4 22593:ec47d4fde26d
  3218     fm = ui.formatter('files', opts)
  3218     fm = ui.formatter('files', opts)
  3219     fmt = '%s' + end
  3219     fmt = '%s' + end
  3220 
  3220 
  3221     m = scmutil.match(ctx, pats, opts)
  3221     m = scmutil.match(ctx, pats, opts)
  3222     for f in ctx.matches(m):
  3222     for f in ctx.matches(m):
  3223         if rev is None and repo.dirstate[f] in 'r?!':
  3223         if rev is None and repo.dirstate[f] == 'r':
  3224             continue
  3224             continue
  3225         fm.startitem()
  3225         fm.startitem()
  3226         if ui.verbose:
  3226         if ui.verbose:
  3227             fc = ctx[f]
  3227             fc = ctx[f]
  3228             fm.write('size flags', '% 10d % 1s ', fc.size(), fc.flags())
  3228             fm.write('size flags', '% 10d % 1s ', fc.size(), fc.flags())