Show More
@@ -1760,8 +1760,6 b' def _chistedit(ui, repo, freeargs, opts)' | |||
|
1760 | 1760 | rules.append(histeditrule(ui, repo[r], i)) |
|
1761 | 1761 | with util.with_lc_ctype(): |
|
1762 | 1762 | rc = curses.wrapper(functools.partial(_chisteditmain, repo, rules)) |
|
1763 | curses.echo() | |
|
1764 | curses.endwin() | |
|
1765 | 1763 | if rc is False: |
|
1766 | 1764 | ui.write(_(b"histedit aborted\n")) |
|
1767 | 1765 | return 0 |
@@ -163,6 +163,8 b' def delete_nodemap(tr, repo, revlog):' | |||
|
163 | 163 | |
|
164 | 164 | def persist_nodemap(tr, revlog, pending=False, force=False): |
|
165 | 165 | """Write nodemap data on disk for a given revlog""" |
|
166 | if len(revlog.index) <= 0: | |
|
167 | return | |
|
166 | 168 | if getattr(revlog, 'filteredrevs', ()): |
|
167 | 169 | raise error.ProgrammingError( |
|
168 | 170 | "cannot persist nodemap of a filtered changelog" |
General Comments 0
You need to be logged in to leave comments.
Login now