comparison mercurial/commands.py @ 5764:8a5d8fb59ed2

Backed out changeset c2a21fe60994 Unfortunately, this breaks backward compatibility.
author Matt Mackall <mpm@selenic.com>
date Mon, 31 Dec 2007 17:47:02 -0600
parents c2a21fe60994
children 2dd202a6e15b
comparison
equal deleted inserted replaced
5762:c2a21fe60994 5764:8a5d8fb59ed2
2361 2361
2362 The codes used to show the status of files are: 2362 The codes used to show the status of files are:
2363 M = modified 2363 M = modified
2364 A = added 2364 A = added
2365 R = removed 2365 R = removed
2366 = = clean 2366 C = clean
2367 ! = deleted, but still tracked 2367 ! = deleted, but still tracked
2368 ? = not tracked 2368 ? = not tracked
2369 I = ignored (not shown by default) 2369 I = ignored (not shown by default)
2370 = the previous added file was copied from here 2370 = the previous added file was copied from here
2371 """ 2371 """
2386 ('removed', 'R', removed), 2386 ('removed', 'R', removed),
2387 ('deleted', '!', deleted), 2387 ('deleted', '!', deleted),
2388 ('unknown', '?', unknown), 2388 ('unknown', '?', unknown),
2389 ('ignored', 'I', ignored)) 2389 ('ignored', 'I', ignored))
2390 2390
2391 explicit_changetypes = changetypes + (('clean', '=', clean),) 2391 explicit_changetypes = changetypes + (('clean', 'C', clean),)
2392 2392
2393 end = opts['print0'] and '\0' or '\n' 2393 end = opts['print0'] and '\0' or '\n'
2394 2394
2395 for opt, char, changes in ([ct for ct in explicit_changetypes 2395 for opt, char, changes in ([ct for ct in explicit_changetypes
2396 if all or opts[ct[0]]] 2396 if all or opts[ct[0]]]