Mercurial > repos > other > linux
diff bashrc @ 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 | 78b4a74a5452 |
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)"