equal
deleted
inserted
replaced
245 if resp_all[0] is not None: |
245 if resp_all[0] is not None: |
246 return resp_all[0] |
246 return resp_all[0] |
247 if resp_file[0] is not None: |
247 if resp_file[0] is not None: |
248 return resp_file[0] |
248 return resp_file[0] |
249 while True: |
249 while True: |
250 r = (ui.prompt(query + _(' [Ynsfdaq?] '), '[Ynsfdaq?]?$', |
250 r = (ui.prompt(query + _(' [Ynsfdaq?] '), '(?i)[Ynsfdaq?]?$') |
251 matchflags=re.I) or 'y').lower() |
251 or 'y').lower() |
252 if r == '?': |
252 if r == '?': |
253 c = record.__doc__.find('y - record this change') |
253 c = record.__doc__.find('y - record this change') |
254 for l in record.__doc__[c:].splitlines(): |
254 for l in record.__doc__[c:].splitlines(): |
255 if l: ui.write(_(l.strip()), '\n') |
255 if l: ui.write(_(l.strip()), '\n') |
256 continue |
256 continue |