stash: color the patch prompt line
This commit is contained in:
1 parent
6d547299cd
commit
a215aac2f6
1 file changed
+2
@@ -1273,7 +1273,9 @@ def get_svn_contents_to_stash(targets, svn, out, keep, patch):
|
||||
answer = ''
|
||||
answers = ('y', 'n', 'yf', 'nf', 'ya', 'na', 'q', '?')
|
||||
while answer not in answers:
|
||||
ansi_color(out, 'magenta', bold=True)
|
||||
out.write('Stash this hunk (%s)? ' % ','.join(answers))
|
||||
ansi_reset(out)
|
||||
answer = sys.stdin.readline().rstrip().lower()
|
||||
if answer == '?':
|
||||
out.write('''y: yes, stash this hunk
|
||||
|
||||
Reference in new issue
Block a user