# HG changeset patch # User Steve Losh # Date 1247626272 14400 # Node ID 19df0cea18a53a09cfcd53c367a2a1cd293bd39b # Parent aa40029d16194b8de325c777d5b8eca04dcb4cb4 Add the new outgoing and incoming hg-prompt features. diff -r aa40029d1619 -r 19df0cea18a5 .bashrc --- a/.bashrc Sat Jul 11 12:01:19 2009 -0400 +++ b/.bashrc Tue Jul 14 22:51:12 2009 -0400 @@ -35,7 +35,7 @@ ORANGE=$'\e[33;40m' hg_ps1() { - hg prompt "{${D} on ${PINK}{branch}}{${D} at ${ORANGE}{bookmark}}{${GREEN}{status}}" 2> /dev/null + hg prompt "{${D} on ${GREEN}{[+{incoming|count}]-->}${PINK}{branch}}${GREEN}{-->[+{outgoing|count}]}{${D} at ${ORANGE}{bookmark}}{${GREEN}{status}}" 2> /dev/null } export PS1='\n${PINK}\u ${D}at ${ORANGE}\h ${D}in ${GREEN}\w$(hg_ps1)\