From 05fa1da30ac06c5f34028e91ef89d679dfe2e252 Mon Sep 17 00:00:00 2001 From: Foo Date: Thu, 23 Mar 2017 21:12:37 +0300 Subject: [PATCH] Handle C file status --- powerline/lib/vcs/mercurial.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/powerline/lib/vcs/mercurial.py b/powerline/lib/vcs/mercurial.py index 45c9c42b..73dcb31d 100644 --- a/powerline/lib/vcs/mercurial.py +++ b/powerline/lib/vcs/mercurial.py @@ -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')