mirror of
https://github.com/powerline/powerline.git
synced 2025-07-23 22:05:43 +02:00
Merge pull request #1746 from ZyX-I/mercurial-clean-status
Handle C file status
This commit is contained in:
commit
d4d6bca2d0
@ -25,7 +25,7 @@ class Repository(object):
|
|||||||
# hg status -> (powerline file status, repo status flag)
|
# hg status -> (powerline file status, repo status flag)
|
||||||
statuses = {
|
statuses = {
|
||||||
b'M': ('M', 1), b'A': ('A', 1), b'R': ('R', 1), b'!': ('D', 1),
|
b'M': ('M', 1), b'A': ('A', 1), b'R': ('R', 1), b'!': ('D', 1),
|
||||||
b'?': ('U', 2), b'I': ('I', 0)
|
b'?': ('U', 2), b'I': ('I', 0), b'C': ('', 0),
|
||||||
}
|
}
|
||||||
repo_statuses_str = (None, 'D ', ' U', 'DU')
|
repo_statuses_str = (None, 'D ', ' U', 'DU')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user