mercurial/commands.py
changeset 43590 95d0532ad171
parent 43511 8e175a3d64bd
child 43646 1e1bad31b427
equal deleted inserted replaced
43589:7f4d58c21aec 43590:95d0532ad171
  6815 
  6815 
  6816     if opts.get(b'print0'):
  6816     if opts.get(b'print0'):
  6817         end = b'\0'
  6817         end = b'\0'
  6818     else:
  6818     else:
  6819         end = b'\n'
  6819         end = b'\n'
  6820     copy = {}
       
  6821     states = b'modified added removed deleted unknown ignored clean'.split()
  6820     states = b'modified added removed deleted unknown ignored clean'.split()
  6822     show = [k for k in states if opts.get(k)]
  6821     show = [k for k in states if opts.get(k)]
  6823     if opts.get(b'all'):
  6822     if opts.get(b'all'):
  6824         show += ui.quiet and (states[:4] + [b'clean']) or states
  6823         show += ui.quiet and (states[:4] + [b'clean']) or states
  6825 
  6824 
  6854             opts.get(b'subrepos'),
  6853             opts.get(b'subrepos'),
  6855         )
  6854         )
  6856 
  6855 
  6857     changestates = zip(states, pycompat.iterbytestr(b'MAR!?IC'), stat)
  6856     changestates = zip(states, pycompat.iterbytestr(b'MAR!?IC'), stat)
  6858 
  6857 
       
  6858     copy = {}
  6859     if (
  6859     if (
  6860         opts.get(b'all')
  6860         opts.get(b'all')
  6861         or opts.get(b'copies')
  6861         or opts.get(b'copies')
  6862         or ui.configbool(b'ui', b'statuscopies')
  6862         or ui.configbool(b'ui', b'statuscopies')
  6863     ) and not opts.get(b'no_status'):
  6863     ) and not opts.get(b'no_status'):