##// END OF EJS Templates
record: better way to find help in docstring...
Martin Geisler -
r11236:cfa6a726 stable
parent child Browse files
Show More
@@ -295,9 +295,9 b' def filterpatch(ui, chunks):'
295 r = ui.promptchoice("%s %s" % (query, resps), choices)
295 r = ui.promptchoice("%s %s" % (query, resps), choices)
296 if r == 7: # ?
296 if r == 7: # ?
297 doc = gettext(record.__doc__)
297 doc = gettext(record.__doc__)
298 c = doc.find(_('y - record this change'))
298 c = doc.find('::') + 2
299 for l in doc[c:].splitlines():
299 for l in doc[c:].splitlines():
300 if l:
300 if l.startswith(' '):
301 ui.write(l.strip(), '\n')
301 ui.write(l.strip(), '\n')
302 continue
302 continue
303 elif r == 0: # yes
303 elif r == 0: # yes
General Comments 0
You need to be logged in to leave comments. Login now