changeset 143:51d857786c5a

Switch to using "*" for "local changes" in hg prompt This matches the Git prompt script
author IBBoard <dev@ibboard.co.uk>
date Sun, 19 Jan 2020 10:57:21 +0000
parents 503a7a8df2e2
children c12350209a5c
files prompt.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/prompt.py	Sun Jan 19 10:55:17 2020 +0000
+++ b/prompt.py	Sun Jan 19 10:57:21 2020 +0000
@@ -321,10 +321,10 @@
 
         flag = b''
         if b'|modified' not in g and b'|unknown' not in g:
-            flag = b'!' if modified else b'?' if unknown else b''
+            flag = b'*' if modified else b'?' if unknown else b''
         else:
             if b'|modified' in g:
-                flag += b'!' if modified else b''
+                flag += b'*' if modified else b''
             if b'|unknown' in g:
                 flag += b'?' if unknown else b''