equal
deleted
inserted
replaced
387 files = modified + added + clean |
387 files = modified + added + clean |
388 if opts.get('untracked'): |
388 if opts.get('untracked'): |
389 files += unknown |
389 files += unknown |
390 files.sort() |
390 files.sort() |
391 wctx = repo.changectx(None) |
391 wctx = repo.changectx(None) |
392 islink = lambda p: 'l' in wctx.fileflags(p) |
392 islink = lambda p: 'l' in wctx.flags(p) |
393 kwfiles = [f for f in files if kwt.iskwfile(f, islink)] |
393 kwfiles = [f for f in files if kwt.iskwfile(f, islink)] |
394 cwd = pats and repo.getcwd() or '' |
394 cwd = pats and repo.getcwd() or '' |
395 kwfstats = not opts.get('ignore') and (('K', kwfiles),) or () |
395 kwfstats = not opts.get('ignore') and (('K', kwfiles),) or () |
396 if opts.get('all') or opts.get('ignore'): |
396 if opts.get('all') or opts.get('ignore'): |
397 kwfstats += (('I', [f for f in files if f not in kwfiles]),) |
397 kwfstats += (('I', [f for f in files if f not in kwfiles]),) |