Commits

TK Soh committed 0dcf900

shelve: fix traceback when displaying help with '?'

Comments (0)

Files changed (1)

             if r == '?':
                 c = shelve.__doc__.find('y - shelve this change')
                 for l in shelve.__doc__[c:].splitlines():
-                    if l: ui.write(_(l.strip()), '\n')
+                    if l: ui.write(_(l.strip()) + '\n')
                 continue
             elif r == 's':
                 r = resp_file[0] = 'n'