equal
deleted
inserted
replaced
368 else: |
368 else: |
369 files = modified + added + clean |
369 files = modified + added + clean |
370 files.sort() |
370 files.sort() |
371 kwfiles = [f for f in files if _iskwfile(f, repo._link)] |
371 kwfiles = [f for f in files if _iskwfile(f, repo._link)] |
372 cwd = pats and repo.getcwd() or '' |
372 cwd = pats and repo.getcwd() or '' |
373 if opts.get('ignore'): |
373 kwfstats = not opts.get('ignore') and (('K', kwfiles),) or () |
374 kwfstats = () |
|
375 else: |
|
376 kwfstats = (('K', kwfiles),) |
|
377 if opts.get('all') or opts.get('ignore'): |
374 if opts.get('all') or opts.get('ignore'): |
378 kwfstats += (('I', [f for f in files if f not in kwfiles]),) |
375 kwfstats += (('I', [f for f in files if f not in kwfiles]),) |
379 for char, filenames in kwfstats: |
376 for char, filenames in kwfstats: |
380 format = (opts.get('all') or ui.verbose) and '%s %%s\n' % char or '%s\n' |
377 format = (opts.get('all') or ui.verbose) and '%s %%s\n' % char or '%s\n' |
381 for f in filenames: |
378 for f in filenames: |