--- a/mercurial/dispatch.py Sat Apr 14 11:20:38 2018 -0400
+++ b/mercurial/dispatch.py Sat Apr 14 09:23:48 2018 -0700
@@ -35,7 +35,6 @@
hook,
profiling,
pycompat,
- registrar,
scmutil,
ui as uimod,
util,
@@ -46,8 +45,6 @@
stringutil,
)
-unrecoverablewrite = registrar.command.unrecoverablewrite
-
class request(object):
def __init__(self, args, ui=None, repo=None, fin=None, fout=None,
ferr=None, prereposetups=None):
@@ -562,7 +559,7 @@
return aliasargs(self.fn, args)
def __getattr__(self, name):
- adefaults = {r'norepo': True, r'cmdtype': unrecoverablewrite,
+ adefaults = {r'norepo': True, r'intents': set(),
r'optionalrepo': False, r'inferrepo': False}
if name not in adefaults:
raise AttributeError(name)