diff -r af43cb56af4e -r f3e4a5ad0d90 tests/test-commandserver.t --- a/tests/test-commandserver.t Fri Oct 13 23:46:37 2017 +0200 +++ b/tests/test-commandserver.t Fri Oct 13 23:53:06 2017 +0200 @@ -808,6 +808,14 @@ $ cat > $TESTTMP/failafterfinalize.py < # extension to abort transaction after finalization forcibly > from mercurial import commands, error, extensions, lock as lockmod + > from mercurial import registrar + > cmdtable = {} + > command = registrar.command(cmdtable) + > configtable = {} + > configitem = registrar.configitem(configtable) + > configitem('failafterfinalize', 'fail', + > default=None, + > ) > def fail(tr): > raise error.Abort('fail after finalization') > def reposetup(ui, repo):