Merge pull request #1746 from ZyX-I/mercurial-clean-status

Handle C file status
This commit is contained in:
Nikolai Aleksandrovich Pavlov 2017-04-24 17:22:01 +03:00 committed by GitHub
commit d4d6bca2d0
1 changed files with 2 additions and 2 deletions

View File

@ -24,8 +24,8 @@ class Repository(object):
# hg status -> (powerline file status, repo status flag)
statuses = {
b'M': ('M', 1), b'A': ('A', 1), b'R': ('R', 1), b'!': ('D', 1),
b'?': ('U', 2), b'I': ('I', 0)
b'M': ('M', 1), b'A': ('A', 1), b'R': ('R', 1), b'!': ('D', 1),
b'?': ('U', 2), b'I': ('I', 0), b'C': ('', 0),
}
repo_statuses_str = (None, 'D ', ' U', 'DU')