hgext/keyword.py
changeset 8209 a1a5a57efe90
parent 8112 6ee71f78497c
child 8225 46293a0c7e9f
equal deleted inserted replaced
8208:32a2a1e244f1 8209:a1a5a57efe90
   375     patterns but not symlinks.
   375     patterns but not symlinks.
   376     '''
   376     '''
   377     kwt = kwtools['templater']
   377     kwt = kwtools['templater']
   378     status = _status(ui, repo, kwt, opts.get('untracked'), *pats, **opts)
   378     status = _status(ui, repo, kwt, opts.get('untracked'), *pats, **opts)
   379     modified, added, removed, deleted, unknown, ignored, clean = status
   379     modified, added, removed, deleted, unknown, ignored, clean = status
   380     files = util.sort(modified + added + clean + unknown)
   380     files = sorted(modified + added + clean + unknown)
   381     wctx = repo[None]
   381     wctx = repo[None]
   382     kwfiles = [f for f in files if kwt.iskwfile(f, wctx.flags)]
   382     kwfiles = [f for f in files if kwt.iskwfile(f, wctx.flags)]
   383     cwd = pats and repo.getcwd() or ''
   383     cwd = pats and repo.getcwd() or ''
   384     kwfstats = not opts.get('ignore') and (('K', kwfiles),) or ()
   384     kwfstats = not opts.get('ignore') and (('K', kwfiles),) or ()
   385     if opts.get('all') or opts.get('ignore'):
   385     if opts.get('all') or opts.get('ignore'):