##// END OF EJS Templates
transaction: raise on backup restoration error...
transaction: raise on backup restoration error A few line above, similar errors in the truncation code result in raising the associated exception. We should do the same here. This means the transaction recover is more strict now, which might be a problem when running `hg recover` in a share different from the one where the transaction fails. However this has always been a problem and need to be be addressed independently.

File last commit:

r49730:6000f5b2 default
r51234:cab3defe stable
Show More
__init__.py
12 lines | 377 B | text/x-python | PythonLexer
Gregory Szorc
mercurial: implement import hook for handling C/Python modules...
r27220 # __init__.py - Startup and module loading logic for Mercurial.
#
# Copyright 2015 Gregory Szorc <gregory.szorc@gmail.com>
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2 or any later version.
Siddharth Agarwal
demandimport: move to separate package...
r32420 # Allow 'from mercurial import demandimport' to keep working.
import hgdemandimport
Augie Fackler
formatting: blacken the codebase...
r43346
Siddharth Agarwal
demandimport: move to separate package...
r32420 demandimport = hgdemandimport