# HG changeset patch # User Steve Losh # Date 1595171541 14400 # Node ID d87bc22b5a2e83b81ee672bc859786fba9217a52 # Parent 9f0b70dfcf525f323c588375ea0d17cd8284cde1 Fix inactive branches being marked with ^ Patch from Simon Williams. diff -r 9f0b70dfcf52 -r d87bc22b5a2e prompt.py --- a/prompt.py Mon Dec 23 15:00:33 2019 -0500 +++ b/prompt.py Sun Jul 19 11:12:21 2020 -0400 @@ -341,7 +341,7 @@ tip = head break - return _with_groups(m.groups(), '^') if current_rev.children() else '' + return _with_groups(m.groups(), '^') if repo[tip].node() != current_rev.node() else '' if opts.get("angle_brackets"): tag_start = r'\<([^><]*?\<)?'