##// END OF EJS Templates
status: move initialization closer together...
Martin von Zweigbergk -
r43987:95d0532a default
parent child Browse files
Show More
@@ -6817,7 +6817,6 b' def status(ui, repo, *pats, **opts):'
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'):
@@ -6856,6 +6855,7 b' def status(ui, repo, *pats, **opts):'
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')
General Comments 0
You need to be logged in to leave comments. Login now