parent
bc4450e3ec
commit
6da1e9bc6a
@ -835,7 +835,7 @@ _lp_hg_branch_color()
|
|||||||
ret="${LP_COLOR_UP}${branch}${has_untracked}${NO_COL}" # nothing to commit or push
|
ret="${LP_COLOR_UP}${branch}${has_untracked}${NO_COL}" # nothing to commit or push
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
local has_line
|
local has_lines
|
||||||
has_lines=$(hg diff --stat 2>/dev/null | tail -n 1 | awk 'FS=" " {printf("+%s/-%s\n", $4, $6)}')
|
has_lines=$(hg diff --stat 2>/dev/null | tail -n 1 | awk 'FS=" " {printf("+%s/-%s\n", $4, $6)}')
|
||||||
if [[ "$has_commit" -gt "0" ]] ; then
|
if [[ "$has_commit" -gt "0" ]] ; then
|
||||||
# Changes to commit and commits to push
|
# Changes to commit and commits to push
|
||||||
|
Loading…
Reference in New Issue
Block a user