Mercurial > repos > other > linux
changeset 67:2cc6556f8903
Fix "no such repo" warning
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 25 Apr 2017 12:57:18 +0100 |
parents | 091d9fc4698b |
children | 38843a80f378 |
files | bashrc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bashrc Tue Apr 25 12:03:06 2017 +0100 +++ b/bashrc Tue Apr 25 12:57:18 2017 +0100 @@ -46,7 +46,7 @@ if [[ "x$VCS_EXTRA" == "x" ]]; then #FIXME: Currently shows "-" even when no incoming changes - VCS_EXTRA=$(hg prompt "{branch} {-{incoming|count}}{+{outgoing|count}}") + VCS_EXTRA=$(hg prompt "{branch} {-{incoming|count}}{+{outgoing|count}}" 2>/dev/null) fi if [[ "x$VCS_EXTRA" != "x" ]]; then echo -n " ($VCS_EXTRA)"