# HG changeset patch # User Steve Losh # Date 1475191956 0 # Thu Sep 29 23:32:36 2016 +0000 # Node ID ca659a3b3b9776f7d97ef649ca60211a3ddab1b3 # Parent e90cf5cad06061cd1691ab804eebfb0a25d3c16a # Parent 34c0e34e7fe734033d6a3edc54fb3f5ee3530a68 Merged in sietsebb/hg-prompt (pull request #13) Also hide ^ marker when on a non-tip head diff --git a/prompt.py b/prompt.py --- a/prompt.py +++ b/prompt.py @@ -370,7 +370,7 @@ tip = head break - return _with_groups(m.groups(), '^') if current_rev != repo[tip] else '' + return _with_groups(m.groups(), '^') if current_rev.children() else '' if opts.get("angle_brackets"):