hgkw/keyword.py
branchstable
changeset 538 db71342ad29d
parent 534 43d8c042ca20
child 540 e30c2a251010
equal deleted inserted replaced
536:af1cbe3a9141 538:db71342ad29d
   377     patterns but not symlinks.
   377     patterns but not symlinks.
   378     '''
   378     '''
   379     kwt = kwtools['templater']
   379     kwt = kwtools['templater']
   380     status = _status(ui, repo, kwt, opts.get('untracked'), *pats, **opts)
   380     status = _status(ui, repo, kwt, opts.get('untracked'), *pats, **opts)
   381     modified, added, removed, deleted, unknown, ignored, clean = status
   381     modified, added, removed, deleted, unknown, ignored, clean = status
   382     files = util.sort(modified + added + clean + unknown)
   382     files = sorted(modified + added + clean + unknown)
   383     wctx = repo[None]
   383     wctx = repo[None]
   384     kwfiles = [f for f in files if kwt.iskwfile(f, wctx.flags)]
   384     kwfiles = [f for f in files if kwt.iskwfile(f, wctx.flags)]
   385     cwd = pats and repo.getcwd() or ''
   385     cwd = pats and repo.getcwd() or ''
   386     kwfstats = not opts.get('ignore') and (('K', kwfiles),) or ()
   386     kwfstats = not opts.get('ignore') and (('K', kwfiles),) or ()
   387     if opts.get('all') or opts.get('ignore'):
   387     if opts.get('all') or opts.get('ignore'):