--- a/.bash_prompt Mon Jul 11 07:39:52 2016 +0800
+++ b/.bash_prompt Sun Jul 24 11:51:21 2016 +0800
if [[ $USE_HG_PROMPT ]] ; then
local PROMPT_TEMPLATE="${P}{branch|quiet}{${Rd}{closed}}${P}☿{rev}{${B}+{tags|quiet|+}}{${Gd}*{bookmark}}{${R}{update}}{${G}+{rev|merge}}${R}{status|modified}${RESET}"
- HG_INFO=" $(hg prompt $PROMPT_TEMPLATE)"
+ HG_INFO=" $(HGPLAIN=1 hg prompt $PROMPT_TEMPLATE)"
- local SUM=$(LC_ALL=C hg sum 2>/dev/null)
+ local SUM=$(HGPLAIN=1 hg sum 2>/dev/null)
local PARENTS=($(grep -Po '(?<=parent: ).*(?=:)' <<< "$SUM"))
local BRANCH=$(grep -Po '(?<=branch: ).*$' <<< "$SUM")
local COMMIT=$(grep -Po '(?<=commit: ).*$' <<< "$SUM")