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