Show More
@@ -107,6 +107,7 b' from mercurial.i18n import _' | |||||
107 | 'diff.trailingwhitespace': 'bold red_background', |
|
107 | 'diff.trailingwhitespace': 'bold red_background', | |
108 | 'diffstat.deleted': 'red', |
|
108 | 'diffstat.deleted': 'red', | |
109 | 'diffstat.inserted': 'green', |
|
109 | 'diffstat.inserted': 'green', | |
|
110 | 'ui.prompt': 'yellow', | |||
110 | 'log.changeset': 'yellow', |
|
111 | 'log.changeset': 'yellow', | |
111 | 'resolve.resolved': 'green bold', |
|
112 | 'resolve.resolved': 'green bold', | |
112 | 'resolve.unresolved': 'red bold', |
|
113 | 'resolve.unresolved': 'red bold', |
@@ -483,7 +483,7 b' class ui(object):' | |||||
483 | self.write(msg, ' ', default, "\n") |
|
483 | self.write(msg, ' ', default, "\n") | |
484 | return default |
|
484 | return default | |
485 | try: |
|
485 | try: | |
486 | r = self._readline(msg + ' ') |
|
486 | r = self._readline(self.label(msg, 'ui.prompt') + ' ') | |
487 | if not r: |
|
487 | if not r: | |
488 | return default |
|
488 | return default | |
489 | return r |
|
489 | return r |
@@ -81,7 +81,7 b' record' | |||||
81 | \x1b[0;36;1mold mode 100644\x1b[0m (esc) |
|
81 | \x1b[0;36;1mold mode 100644\x1b[0m (esc) | |
82 | \x1b[0;36;1mnew mode 100755\x1b[0m (esc) |
|
82 | \x1b[0;36;1mnew mode 100755\x1b[0m (esc) | |
83 | 1 hunks, 1 lines changed |
|
83 | 1 hunks, 1 lines changed | |
84 | examine changes to 'a'? [Ynsfdaq?] |
|
84 | \x1b[0;33mexamine changes to 'a'? [Ynsfdaq?]\x1b[0m (esc) | |
85 |
\x1b[0 |
|
85 | \x1b[0;35m@@ -2,7 +2,7 @@\x1b[0m (esc) | |
86 | c |
|
86 | c | |
87 | a |
|
87 | a | |
@@ -91,7 +91,7 b' record' | |||||
91 | a |
|
91 | a | |
92 | a |
|
92 | a | |
93 | c |
|
93 | c | |
94 | record this change to 'a'? [Ynsfdaq?] |
|
94 | \x1b[0;33mrecord this change to 'a'? [Ynsfdaq?]\x1b[0m (esc) | |
95 | $ echo |
|
95 | $ echo | |
96 |
|
96 | |||
97 | $ echo "[extensions]" >> $HGRCPATH |
|
97 | $ echo "[extensions]" >> $HGRCPATH | |
@@ -110,7 +110,7 b' qrecord' | |||||
110 | \x1b[0;36;1mold mode 100644\x1b[0m (esc) |
|
110 | \x1b[0;36;1mold mode 100644\x1b[0m (esc) | |
111 | \x1b[0;36;1mnew mode 100755\x1b[0m (esc) |
|
111 | \x1b[0;36;1mnew mode 100755\x1b[0m (esc) | |
112 | 1 hunks, 1 lines changed |
|
112 | 1 hunks, 1 lines changed | |
113 | examine changes to 'a'? [Ynsfdaq?] |
|
113 | \x1b[0;33mexamine changes to 'a'? [Ynsfdaq?]\x1b[0m (esc) | |
114 |
\x1b[0 |
|
114 | \x1b[0;35m@@ -2,7 +2,7 @@\x1b[0m (esc) | |
115 | c |
|
115 | c | |
116 | a |
|
116 | a | |
@@ -120,6 +120,6 b' qrecord' | |||||
120 | a |
|
120 | a | |
121 | a |
|
121 | a | |
122 | c |
|
122 | c | |
123 | record this change to 'a'? [Ynsfdaq?] |
|
123 | \x1b[0;33mrecord this change to 'a'? [Ynsfdaq?]\x1b[0m (esc) | |
124 | $ echo |
|
124 | $ echo | |
125 |
|
125 |
General Comments 0
You need to be logged in to leave comments.
Login now