--- /hgwork/src/tests/test-acl.t
+++ /hgwork/src/tests/test-acl.t.err
@@ -362,7 +362,86 @@
transaction abort!
rollback completed
truncating cache/rbc-revs-v1 to 8
- abort: acl: user "fred" not allowed on "foo/file.txt" (changeset "ef1ea85a6374")
+ ** Unknown exception encountered with possibly-broken third-party extension "posixgetuser" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "posixgetuser" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: acl, posixgetuser
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2032, in handlechangegroup
+ **extrakwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 497, in _processchangegroup
+ ret = cg.apply(op.repo, tr, source, url, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 509, in apply
+ **pycompat.strkwargs(hookargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 353, in runhooks
+ ui, repo, htype, hname, hookfn, args, throw
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 116, in pythonhook
+ r = obj(ui=ui, repo=repo, hooktype=htype, **pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/acl.py", line 403, in hook
+ _txnhook(ui, repo, hooktype, node, source, user, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/acl.py", line 487, in _txnhook
+ % (user, f, ctx)
+ mercurial.error.Abort: acl: user "fred" not allowed on "foo/file.txt" (changeset "ef1ea85a6374")
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
no rollback information available
0:6675d58eff77
@@ -436,7 +515,86 @@
bundle2-input-bundle: 5 parts total
transaction abort!
rollback completed
- abort: acl: user "fred" not allowed on "quux/file.py" (changeset "911600dab2ae")
+ ** Unknown exception encountered with possibly-broken third-party extension "posixgetuser" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "posixgetuser" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: acl, posixgetuser
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2032, in handlechangegroup
+ **extrakwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 497, in _processchangegroup
+ ret = cg.apply(op.repo, tr, source, url, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 509, in apply
+ **pycompat.strkwargs(hookargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 353, in runhooks
+ ui, repo, htype, hname, hookfn, args, throw
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 116, in pythonhook
+ r = obj(ui=ui, repo=repo, hooktype=htype, **pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/acl.py", line 403, in hook
+ _txnhook(ui, repo, hooktype, node, source, user, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/acl.py", line 487, in _txnhook
+ % (user, f, ctx)
+ mercurial.error.Abort: acl: user "fred" not allowed on "quux/file.py" (changeset "911600dab2ae")
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
no rollback information available
0:6675d58eff77
@@ -507,7 +665,86 @@
bundle2-input-bundle: 5 parts total
transaction abort!
rollback completed
- abort: acl: user "barney" not allowed on "foo/file.txt" (changeset "ef1ea85a6374")
+ ** Unknown exception encountered with possibly-broken third-party extension "posixgetuser" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "posixgetuser" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: acl, posixgetuser
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2032, in handlechangegroup
+ **extrakwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 497, in _processchangegroup
+ ret = cg.apply(op.repo, tr, source, url, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 509, in apply
+ **pycompat.strkwargs(hookargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 353, in runhooks
+ ui, repo, htype, hname, hookfn, args, throw
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 116, in pythonhook
+ r = obj(ui=ui, repo=repo, hooktype=htype, **pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/acl.py", line 403, in hook
+ _txnhook(ui, repo, hooktype, node, source, user, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/acl.py", line 487, in _txnhook
+ % (user, f, ctx)
+ mercurial.error.Abort: acl: user "barney" not allowed on "foo/file.txt" (changeset "ef1ea85a6374")
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
no rollback information available
0:6675d58eff77
@@ -583,7 +820,86 @@
bundle2-input-bundle: 5 parts total
transaction abort!
rollback completed
- abort: acl: user "fred" not allowed on "quux/file.py" (changeset "911600dab2ae")
+ ** Unknown exception encountered with possibly-broken third-party extension "posixgetuser" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "posixgetuser" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: acl, posixgetuser
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2032, in handlechangegroup
+ **extrakwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 497, in _processchangegroup
+ ret = cg.apply(op.repo, tr, source, url, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 509, in apply
+ **pycompat.strkwargs(hookargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 353, in runhooks
+ ui, repo, htype, hname, hookfn, args, throw
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 116, in pythonhook
+ r = obj(ui=ui, repo=repo, hooktype=htype, **pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/acl.py", line 403, in hook
+ _txnhook(ui, repo, hooktype, node, source, user, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/acl.py", line 487, in _txnhook
+ % (user, f, ctx)
+ mercurial.error.Abort: acl: user "fred" not allowed on "quux/file.py" (changeset "911600dab2ae")
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
no rollback information available
0:6675d58eff77
@@ -658,7 +974,86 @@
bundle2-input-bundle: 5 parts total
transaction abort!
rollback completed
- abort: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8")
+ ** Unknown exception encountered with possibly-broken third-party extension "posixgetuser" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "posixgetuser" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: acl, posixgetuser
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2032, in handlechangegroup
+ **extrakwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 497, in _processchangegroup
+ ret = cg.apply(op.repo, tr, source, url, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 509, in apply
+ **pycompat.strkwargs(hookargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 353, in runhooks
+ ui, repo, htype, hname, hookfn, args, throw
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 116, in pythonhook
+ r = obj(ui=ui, repo=repo, hooktype=htype, **pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/acl.py", line 403, in hook
+ _txnhook(ui, repo, hooktype, node, source, user, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/acl.py", line 479, in _txnhook
+ % (user, f, ctx)
+ mercurial.error.Abort: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8")
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
no rollback information available
0:6675d58eff77
@@ -730,7 +1125,86 @@
bundle2-input-bundle: 5 parts total
transaction abort!
rollback completed
- abort: acl: user "barney" not allowed on "foo/file.txt" (changeset "ef1ea85a6374")
+ ** Unknown exception encountered with possibly-broken third-party extension "posixgetuser" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "posixgetuser" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: acl, posixgetuser
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2032, in handlechangegroup
+ **extrakwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 497, in _processchangegroup
+ ret = cg.apply(op.repo, tr, source, url, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 509, in apply
+ **pycompat.strkwargs(hookargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 353, in runhooks
+ ui, repo, htype, hname, hookfn, args, throw
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 116, in pythonhook
+ r = obj(ui=ui, repo=repo, hooktype=htype, **pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/acl.py", line 403, in hook
+ _txnhook(ui, repo, hooktype, node, source, user, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/acl.py", line 487, in _txnhook
+ % (user, f, ctx)
+ mercurial.error.Abort: acl: user "barney" not allowed on "foo/file.txt" (changeset "ef1ea85a6374")
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
no rollback information available
0:6675d58eff77
@@ -901,7 +1375,82 @@
transaction abort!
rollback completed
truncating cache/rbc-revs-v1 to 8
- abort: acl: user "fred" denied on bookmark "moving-bookmark" (changeset "ef1ea85a6374b77d6da9dcda9541f498f2d17df7")
+ ** Unknown exception encountered with possibly-broken third-party extension "posixgetuser" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "posixgetuser" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: acl, posixgetuser
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2398, in handlebookmark
+ b'prepushkey', throw=True, **pycompat.strkwargs(hookargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 353, in runhooks
+ ui, repo, htype, hname, hookfn, args, throw
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 116, in pythonhook
+ r = obj(ui=ui, repo=repo, hooktype=htype, **pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/acl.py", line 401, in hook
+ _pkhook(ui, repo, hooktype, node, source, user, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/acl.py", line 419, in _pkhook
+ % (user, bookmark, ctx)
+ mercurial.error.Abort: acl: user "fred" denied on bookmark "moving-bookmark" (changeset "ef1ea85a6374b77d6da9dcda9541f498f2d17df7")
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
no rollback information available
0:6675d58eff77
@@ -1074,7 +1623,86 @@
transaction abort!
rollback completed
truncating cache/rbc-revs-v1 to 8
- abort: acl: user "wilma" not allowed on "quux/file.py" (changeset "911600dab2ae")
+ ** Unknown exception encountered with possibly-broken third-party extension "posixgetuser" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "posixgetuser" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: acl, posixgetuser
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2032, in handlechangegroup
+ **extrakwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 497, in _processchangegroup
+ ret = cg.apply(op.repo, tr, source, url, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 509, in apply
+ **pycompat.strkwargs(hookargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 353, in runhooks
+ ui, repo, htype, hname, hookfn, args, throw
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 116, in pythonhook
+ r = obj(ui=ui, repo=repo, hooktype=htype, **pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/acl.py", line 403, in hook
+ _txnhook(ui, repo, hooktype, node, source, user, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/acl.py", line 487, in _txnhook
+ % (user, f, ctx)
+ mercurial.error.Abort: acl: user "wilma" not allowed on "quux/file.py" (changeset "911600dab2ae")
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
no rollback information available
0:6675d58eff77
@@ -1148,7 +1776,90 @@
bundle2-input-bundle: 5 parts total
transaction abort!
rollback completed
- abort: $ENOENT$: '../acl.config'
+ ** Unknown exception encountered with possibly-broken third-party extension "posixgetuser" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "posixgetuser" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: acl, posixgetuser
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2032, in handlechangegroup
+ **extrakwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 497, in _processchangegroup
+ ret = cg.apply(op.repo, tr, source, url, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 509, in apply
+ **pycompat.strkwargs(hookargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 353, in runhooks
+ ui, repo, htype, hname, hookfn, args, throw
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 116, in pythonhook
+ r = obj(ui=ui, repo=repo, hooktype=htype, **pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/acl.py", line 403, in hook
+ _txnhook(ui, repo, hooktype, node, source, user, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/acl.py", line 446, in _txnhook
+ b'acl.deny',
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/ui.py", line 458, in readconfig
+ fp = open(filename, 'rb')
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 324, in open
+ return builtins.open(name, sysstr(mode), buffering, encoding)
+ FileNotFoundError: [Errno 2] $ENOENT$: b'../acl.config'
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
no rollback information available
0:6675d58eff77
@@ -1235,7 +1946,86 @@
bundle2-input-bundle: 5 parts total
transaction abort!
rollback completed
- abort: acl: user "betty" not allowed on "quux/file.py" (changeset "911600dab2ae")
+ ** Unknown exception encountered with possibly-broken third-party extension "posixgetuser" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "posixgetuser" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: acl, posixgetuser
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2032, in handlechangegroup
+ **extrakwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 497, in _processchangegroup
+ ret = cg.apply(op.repo, tr, source, url, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 509, in apply
+ **pycompat.strkwargs(hookargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 353, in runhooks
+ ui, repo, htype, hname, hookfn, args, throw
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 116, in pythonhook
+ r = obj(ui=ui, repo=repo, hooktype=htype, **pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/acl.py", line 403, in hook
+ _txnhook(ui, repo, hooktype, node, source, user, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/acl.py", line 487, in _txnhook
+ % (user, f, ctx)
+ mercurial.error.Abort: acl: user "betty" not allowed on "quux/file.py" (changeset "911600dab2ae")
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
no rollback information available
0:6675d58eff77
@@ -1500,7 +2290,86 @@
transaction abort!
rollback completed
truncating cache/rbc-revs-v1 to 8
- abort: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8")
+ ** Unknown exception encountered with possibly-broken third-party extension "f" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "f" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: acl, f, posixgetuser
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2032, in handlechangegroup
+ **extrakwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 497, in _processchangegroup
+ ret = cg.apply(op.repo, tr, source, url, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 509, in apply
+ **pycompat.strkwargs(hookargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 353, in runhooks
+ ui, repo, htype, hname, hookfn, args, throw
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 116, in pythonhook
+ r = obj(ui=ui, repo=repo, hooktype=htype, **pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/acl.py", line 403, in hook
+ _txnhook(ui, repo, hooktype, node, source, user, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/acl.py", line 479, in _txnhook
+ % (user, f, ctx)
+ mercurial.error.Abort: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8")
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
no rollback information available
0:6675d58eff77
@@ -1672,7 +2541,86 @@
transaction abort!
rollback completed
truncating cache/rbc-revs-v1 to 8
- abort: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8")
+ ** Unknown exception encountered with possibly-broken third-party extension "f" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "f" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: acl, f, posixgetuser
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2032, in handlechangegroup
+ **extrakwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 497, in _processchangegroup
+ ret = cg.apply(op.repo, tr, source, url, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 509, in apply
+ **pycompat.strkwargs(hookargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 353, in runhooks
+ ui, repo, htype, hname, hookfn, args, throw
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 116, in pythonhook
+ r = obj(ui=ui, repo=repo, hooktype=htype, **pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/acl.py", line 403, in hook
+ _txnhook(ui, repo, hooktype, node, source, user, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/acl.py", line 479, in _txnhook
+ % (user, f, ctx)
+ mercurial.error.Abort: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8")
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
no rollback information available
0:6675d58eff77
@@ -1689,7 +2637,8 @@
** = @unlikelytoexist
acl: "unlikelytoexist" not defined in [acl.groups]
error: pretxnchangegroup.acl hook failed: group 'unlikelytoexist' is undefined
- abort: group 'unlikelytoexist' is undefined
+ KeyError: "getgrnam(): name not found: 'unlikelytoexist'"
+ mercurial.error.Abort: group 'unlikelytoexist' is undefined
Branch acl tests setup
@@ -1883,7 +2832,86 @@
bundle2-input-bundle: 5 parts total
transaction abort!
rollback completed
- abort: acl: user "astro" denied on branch "foobar" (changeset "e8fc755d4d82")
+ ** Unknown exception encountered with possibly-broken third-party extension "f" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "f" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: acl, f, posixgetuser
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2032, in handlechangegroup
+ **extrakwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 497, in _processchangegroup
+ ret = cg.apply(op.repo, tr, source, url, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 509, in apply
+ **pycompat.strkwargs(hookargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 353, in runhooks
+ ui, repo, htype, hname, hookfn, args, throw
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 116, in pythonhook
+ r = obj(ui=ui, repo=repo, hooktype=htype, **pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/acl.py", line 403, in hook
+ _txnhook(ui, repo, hooktype, node, source, user, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/acl.py", line 461, in _txnhook
+ % (user, branch, ctx)
+ mercurial.error.Abort: acl: user "astro" denied on branch "foobar" (changeset "e8fc755d4d82")
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
no rollback information available
2:fb35475503ef
@@ -1955,7 +2983,86 @@
bundle2-input-bundle: 5 parts total
transaction abort!
rollback completed
- abort: acl: user "astro" not allowed on branch "default" (changeset "ef1ea85a6374")
+ ** Unknown exception encountered with possibly-broken third-party extension "f" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "f" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: acl, f, posixgetuser
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2032, in handlechangegroup
+ **extrakwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 497, in _processchangegroup
+ ret = cg.apply(op.repo, tr, source, url, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 509, in apply
+ **pycompat.strkwargs(hookargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 353, in runhooks
+ ui, repo, htype, hname, hookfn, args, throw
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 116, in pythonhook
+ r = obj(ui=ui, repo=repo, hooktype=htype, **pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/acl.py", line 403, in hook
+ _txnhook(ui, repo, hooktype, node, source, user, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/acl.py", line 469, in _txnhook
+ % (user, branch, ctx)
+ mercurial.error.Abort: acl: user "astro" not allowed on branch "default" (changeset "ef1ea85a6374")
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
no rollback information available
2:fb35475503ef
@@ -2029,7 +3136,86 @@
bundle2-input-bundle: 5 parts total
transaction abort!
rollback completed
- abort: acl: user "astro" not allowed on branch "default" (changeset "ef1ea85a6374")
+ ** Unknown exception encountered with possibly-broken third-party extension "f" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "f" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: acl, f, posixgetuser
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2032, in handlechangegroup
+ **extrakwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 497, in _processchangegroup
+ ret = cg.apply(op.repo, tr, source, url, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 509, in apply
+ **pycompat.strkwargs(hookargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 353, in runhooks
+ ui, repo, htype, hname, hookfn, args, throw
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 116, in pythonhook
+ r = obj(ui=ui, repo=repo, hooktype=htype, **pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/acl.py", line 403, in hook
+ _txnhook(ui, repo, hooktype, node, source, user, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/acl.py", line 469, in _txnhook
+ % (user, branch, ctx)
+ mercurial.error.Abort: acl: user "astro" not allowed on branch "default" (changeset "ef1ea85a6374")
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
no rollback information available
2:fb35475503ef
@@ -2280,7 +3466,86 @@
bundle2-input-bundle: 5 parts total
transaction abort!
rollback completed
- abort: acl: user "george" denied on branch "default" (changeset "ef1ea85a6374")
+ ** Unknown exception encountered with possibly-broken third-party extension "f" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "f" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: acl, f, posixgetuser
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2032, in handlechangegroup
+ **extrakwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 497, in _processchangegroup
+ ret = cg.apply(op.repo, tr, source, url, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 509, in apply
+ **pycompat.strkwargs(hookargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 353, in runhooks
+ ui, repo, htype, hname, hookfn, args, throw
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 116, in pythonhook
+ r = obj(ui=ui, repo=repo, hooktype=htype, **pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/acl.py", line 403, in hook
+ _txnhook(ui, repo, hooktype, node, source, user, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/acl.py", line 461, in _txnhook
+ % (user, branch, ctx)
+ mercurial.error.Abort: acl: user "george" denied on branch "default" (changeset "ef1ea85a6374")
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
no rollback information available
2:fb35475503ef
@@ -2438,7 +3703,86 @@
bundle2-input-bundle: 5 parts total
transaction abort!
rollback completed
- abort: acl: user "george" denied on branch "default" (changeset "ef1ea85a6374")
+ ** Unknown exception encountered with possibly-broken third-party extension "f" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "f" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: acl, f, posixgetuser
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2032, in handlechangegroup
+ **extrakwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 497, in _processchangegroup
+ ret = cg.apply(op.repo, tr, source, url, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 509, in apply
+ **pycompat.strkwargs(hookargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 353, in runhooks
+ ui, repo, htype, hname, hookfn, args, throw
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 116, in pythonhook
+ r = obj(ui=ui, repo=repo, hooktype=htype, **pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/acl.py", line 403, in hook
+ _txnhook(ui, repo, hooktype, node, source, user, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/acl.py", line 461, in _txnhook
+ % (user, branch, ctx)
+ mercurial.error.Abort: acl: user "george" denied on branch "default" (changeset "ef1ea85a6374")
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
no rollback information available
2:fb35475503ef
test-bookmarks-pushpull.t#b2-binary
--- /hgwork/src/tests/test-bookmarks-pushpull.t
+++ /hgwork/src/tests/test-bookmarks-pushpull.t#b2-binary.err
@@ -1234,8 +1234,77 @@
pushing to $TESTTMP/issue4455-dest
searching for changes
no changes found
- abort: prepushkey hook exited with status 1
- [40]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded:
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2398, in handlebookmark
+ b'prepushkey', throw=True, **pycompat.strkwargs(hookargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 356, in runhooks
+ r = _exthook(ui, repo, htype, hname, cmd, args, throw)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 205, in _exthook
+ raise error.HookAbort(_(b'%s hook %s') % (name, desc))
+ mercurial.error.HookAbort: prepushkey hook exited with status 1
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
#endif
test-bookmarks-pushpull.t#b2-pushkey
--- /hgwork/src/tests/test-bookmarks-pushpull.t
+++ /hgwork/src/tests/test-bookmarks-pushpull.t#b2-pushkey.err
@@ -1224,8 +1224,69 @@
searching for changes
no changes found
pushkey-abort: prepushkey hook exited with status 1
- abort: exporting bookmark @ failed
- [255]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded:
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2354, in handlepushkey
+ partid=b'%d' % inpart.id, **pycompat.strkwargs(kwargs)
+ mercurial.error.PushkeyFailed: failed to update value for "bookmarks/@"
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
#endif
#if b2-binary
test-bundle2-exchange.t
--- /hgwork/src/tests/test-bundle2-exchange.t
+++ /hgwork/src/tests/test-bundle2-exchange.t.err
@@ -526,9 +526,71 @@
$ hg -R main push other -r e7ec4e813ba6
pushing to other
searching for changes
- abort: Abandon ship!
- (don't panic)
- [255]
+ ** Unknown exception encountered with possibly-broken third-party extension "failpush" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "failpush" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: failpush
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "$TESTTMP/failpush.py", line 33, in handleabort
+ raise error.Abort(b'Abandon ship!', hint=b"don't panic")
+ mercurial.error.Abort: Abandon ship!
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ hg -R main push ssh://user@dummy/other -r e7ec4e813ba6
pushing to ssh://user@dummy/other
@@ -557,8 +619,71 @@
$ hg -R main push other -r e7ec4e813ba6
pushing to other
searching for changes
- abort: missing support for test:unknown
- [100]
+ ** Unknown exception encountered with possibly-broken third-party extension "failpush" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "failpush" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: failpush
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 554, in _processpart
+ handler = _gethandler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 513, in _gethandler
+ raise error.BundleUnknownFeatureError(parttype=part.type)
+ mercurial.error.BundleUnknownFeatureError: b'test:unknown'
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ hg -R main push ssh://user@dummy/other -r e7ec4e813ba6
pushing to ssh://user@dummy/other
@@ -582,9 +707,78 @@
$ hg -R main push other -r e7ec4e813ba6
pushing to other
searching for changes
- abort: push failed:
- 'remote repository changed while pushing - please try again'
- [255]
+ ** Unknown exception encountered with possibly-broken third-party extension "failpush" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "failpush" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: failpush
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2192, in handlecheckheads
+ b'remote repository changed while pushing - please try again'
+ mercurial.error.PushRaced: b'remote repository changed while pushing - please try again'
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 437, in unbundle
+ _(b'push failed:'), stringutil.forcebytestr(exc)
+ mercurial.error.ResponseError: (b'push failed:', 'remote repository changed while pushing - please try again')
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ hg -R main push ssh://user@dummy/other -r e7ec4e813ba6
pushing to ssh://user@dummy/other
@@ -625,8 +819,77 @@
remote: transaction abort!
remote: Cleaning up the mess...
remote: rollback completed
- abort: pretxnclose.failpush hook exited with status 1
- [40]
+ ** Unknown exception encountered with possibly-broken third-party extension "failpush" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "failpush" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: failpush
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2711, in unbundle
+ lockandtr[2].close()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/transaction.py", line 38, in _active
+ return func(self, *args, **kwds)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/transaction.py", line 555, in close
+ self._validatecallback[category](self)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2489, in validate
+ b'pretxnclose', throw=True, **pycompat.strkwargs(tr.hookargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 356, in runhooks
+ r = _exthook(ui, repo, htype, hname, cmd, args, throw)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 205, in _exthook
+ raise error.HookAbort(_(b'%s hook %s') % (name, desc))
+ mercurial.error.HookAbort: pretxnclose.failpush hook exited with status 1
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ hg -R main push ssh://user@dummy/other -r e7ec4e813ba6
pushing to ssh://user@dummy/other
@@ -686,8 +949,83 @@
remote: transaction abort!
remote: Cleaning up the mess...
remote: rollback completed
- abort: pretxnchangegroup hook exited with status 1
- [40]
+ ** Unknown exception encountered with possibly-broken third-party extension "failpush" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "failpush" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: failpush
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2032, in handlechangegroup
+ **extrakwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 497, in _processchangegroup
+ ret = cg.apply(op.repo, tr, source, url, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 509, in apply
+ **pycompat.strkwargs(hookargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 356, in runhooks
+ r = _exthook(ui, repo, htype, hname, cmd, args, throw)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 205, in _exthook
+ raise error.HookAbort(_(b'%s hook %s') % (name, desc))
+ mercurial.error.HookAbort: pretxnchangegroup hook exited with status 1
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ hg -R main push ssh://user@dummy/other -r e7ec4e813ba6
pushing to ssh://user@dummy/other
searching for changes
@@ -734,8 +1072,83 @@
transaction abort!
Cleaning up the mess...
rollback completed
- abort: pretxnchangegroup hook exited with status 1
- [40]
+ ** Unknown exception encountered with possibly-broken third-party extension "failpush" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "failpush" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: failpush
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2032, in handlechangegroup
+ **extrakwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 497, in _processchangegroup
+ ret = cg.apply(op.repo, tr, source, url, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 509, in apply
+ **pycompat.strkwargs(hookargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 356, in runhooks
+ r = _exthook(ui, repo, htype, hname, cmd, args, throw)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 205, in _exthook
+ raise error.HookAbort(_(b'%s hook %s') % (name, desc))
+ mercurial.error.HookAbort: pretxnchangegroup hook exited with status 1
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ hg -R main push ssh://user@dummy/other -r e7ec4e813ba6
pushing to ssh://user@dummy/other
searching for changes
@@ -809,8 +1222,71 @@
transaction abort!
Cleaning up the mess...
rollback completed
- abort: Correct phase push failed (because hooks)
- [255]
+ ** Unknown exception encountered with possibly-broken third-party extension "failpush" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "failpush" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: failpush, mandatorypart
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2354, in handlepushkey
+ partid=b'%d' % inpart.id, **pycompat.strkwargs(kwargs)
+ mercurial.error.PushkeyFailed: failed to update value for "phases/cd010b8cd998f3981a5a8115f94f8da4ab506089"
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ hg -R main push ssh://user@dummy/other -r e7ec4e813ba6
pushing to ssh://user@dummy/other
searching for changes
@@ -877,8 +1353,71 @@
pushkey: lock state after "phases"
lock: free
wlock: free
- abort: Clown phase push failed
- [255]
+ ** Unknown exception encountered with possibly-broken third-party extension "failpush" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "failpush" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: failpush, mandatorypart
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2354, in handlepushkey
+ partid=b'%d' % inpart.id, **pycompat.strkwargs(kwargs)
+ mercurial.error.PushkeyFailed: failed to update value for "phases/cd010b8cd998f3981a5a8115f94f8da4ab506089"
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ hg -R main push ssh://user@dummy/other -r e7ec4e813ba6
pushing to ssh://user@dummy/other
searching for changes
test-check-pyflakes.t
--- /hgwork/src/tests/test-check-pyflakes.t
+++ /hgwork/src/tests/test-check-pyflakes.t.err
@@ -24,4 +24,46 @@
mercurial/util.py:*:* undefined name 'file' (glob) (?)
mercurial/encoding.py:*:* undefined name 'localstr' (glob) (?)
tests/run-tests.py:*:* undefined name 'PermissionError' (glob) (?)
+ mercurial/error.py:21: 'typing.Any' imported but unused
+ mercurial/error.py:21: 'typing.AnyStr' imported but unused
+ mercurial/error.py:21: 'typing.Iterable' imported but unused
+ mercurial/error.py:21: 'typing.List' imported but unused
+ mercurial/error.py:21: 'typing.Optional' imported but unused
+ mercurial/error.py:21: 'typing.Sequence' imported but unused
+ mercurial/error.py:21: 'typing.Union' imported but unused
+ mercurial/hgweb/server.py:422: undefined name 'reload'
+ mercurial/i18n.py:22: 'typing.Callable' imported but unused
+ mercurial/i18n.py:22: 'typing.List' imported but unused
+ mercurial/logcmdutil.py:44: 'typing.Sequence' imported but unused
+ mercurial/pathutil.py:17: 'typing.Any' imported but unused
+ mercurial/pathutil.py:17: 'typing.Callable' imported but unused
+ mercurial/pathutil.py:17: 'typing.Iterator' imported but unused
+ mercurial/pathutil.py:17: 'typing.Optional' imported but unused
+ mercurial/phases.py:129: 'typing.Any' imported but unused
+ mercurial/phases.py:129: 'typing.Iterable' imported but unused
+ mercurial/phases.py:129: 'typing.Optional' imported but unused
+ mercurial/phases.py:129: 'typing.Tuple' imported but unused
+ mercurial/phases.py:139: '.ui as uimod' imported but unused
+ mercurial/subrepoutil.py:33: 'typing.Any' imported but unused
+ mercurial/subrepoutil.py:33: 'typing.List' imported but unused
+ mercurial/subrepoutil.py:33: 'typing.Optional' imported but unused
+ mercurial/subrepoutil.py:33: 'typing.Set' imported but unused
+ mercurial/subrepoutil.py:41: '.context' imported but unused
+ mercurial/subrepoutil.py:41: '.localrepo' imported but unused
+ mercurial/subrepoutil.py:41: '.match as matchmod' imported but unused
+ mercurial/subrepoutil.py:41: '.scmutil' imported but unused
+ mercurial/subrepoutil.py:41: '.subrepo' imported but unused
+ mercurial/subrepoutil.py:41: '.ui as uimod' imported but unused
+ mercurial/upgrade_utils/actions.py:22: 'typing.List' imported but unused
+ mercurial/upgrade_utils/actions.py:22: 'typing.Type' imported but unused
+ mercurial/util.py:62: 'typing.Iterator' imported but unused
+ mercurial/util.py:62: 'typing.List' imported but unused
+ mercurial/util.py:62: 'typing.Optional' imported but unused
+ mercurial/util.py:62: 'typing.Tuple' imported but unused
+ mercurial/utils/dateutil.py:21: 'typing.Callable' imported but unused
+ mercurial/utils/dateutil.py:21: 'typing.Dict' imported but unused
+ mercurial/utils/dateutil.py:21: 'typing.Iterable' imported but unused
+ mercurial/utils/dateutil.py:21: 'typing.Optional' imported but unused
+ mercurial/utils/dateutil.py:21: 'typing.Union' imported but unused
+ mercurial/utils/urlutil.py:29: 'typing.Union' imported but unused
test-clone.t
--- /hgwork/src/tests/test-clone.t
+++ /hgwork/src/tests/test-clone.t.err
@@ -827,15 +827,85 @@
Clone with auto share from a repo with filtered revision 0 should not result in share
$ hg --config share.pool=share clone filteredrev0 share-filtered
- (not using pooled storage: unable to resolve identity of remote)
- requesting all changes
- adding changesets
- adding manifests
- adding file changes
- added 1 changesets with 1 changes to 1 files
- new changesets e082c1832e09
- updating to branch default
- 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: share
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 1904, in __getitem__
+ node = self.changelog.node(changeid)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/repoview.py", line 342, in node
+ raise error.FilteredIndexError(rev)
+ mercurial.error.FilteredIndexError: 0
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 629, in revsymbol
+ return repo[r]
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 1945, in __getitem__
+ _(b"filtered revision '%s'") % pycompat.bytestr(changeid)
+ mercurial.error.FilteredRepoLookupError: b"filtered revision '0'"
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 395, in lookup
+ return self._repo.lookup(key)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2182, in lookup
+ node = scmutil.revsymbol(self, key).node()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 667, in revsymbol
+ raise _filterederror(repo, symbol)
+ mercurial.error.FilteredRepoLookupError: b"filtered revision '0' (not in 'served' subset)"
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/share.py", line 162, in clone
+ return orig(ui, source, *args, **opts)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 1967, in clone
+ depth=opts.get(b'depth') or None,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hg.py", line 764, in clone
+ b'key': b'0',
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
Clone from repo with content should result in shared store being created
test-eol-hook.t
--- /hgwork/src/tests/test-eol-hook.t
+++ /hgwork/src/tests/test-eol-hook.t.err
@@ -43,9 +43,86 @@
a.txt in a8ee6548cd86 should not have CRLF line endings
transaction abort!
rollback completed
- abort: end-of-line check failed:
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: eol
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2032, in handlechangegroup
+ **extrakwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 497, in _processchangegroup
+ ret = cg.apply(op.repo, tr, source, url, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 509, in apply
+ **pycompat.strkwargs(hookargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 353, in runhooks
+ ui, repo, htype, hname, hookfn, args, throw
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 116, in pythonhook
+ r = obj(ui=ui, repo=repo, hooktype=htype, **pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/eol.py", line 346, in checkheadshook
+ _checkhook(ui, repo, node, True)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/eol.py", line 335, in _checkhook
+ _(b"end-of-line check failed:
") + b"
".join(msgs)
+ mercurial.error.Abort: end-of-line check failed:
a.txt in a8ee6548cd86 should not have CRLF line endings
- [255]
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ printf "first
second
third
" > a.txt
$ hg commit -m 'LF a.txt (fixed)'
@@ -70,9 +147,86 @@
crlf.txt in 004ba2132725 should not have LF line endings
transaction abort!
rollback completed
- abort: end-of-line check failed:
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: eol
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2032, in handlechangegroup
+ **extrakwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 497, in _processchangegroup
+ ret = cg.apply(op.repo, tr, source, url, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 509, in apply
+ **pycompat.strkwargs(hookargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 353, in runhooks
+ ui, repo, htype, hname, hookfn, args, throw
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 116, in pythonhook
+ r = obj(ui=ui, repo=repo, hooktype=htype, **pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/eol.py", line 346, in checkheadshook
+ _checkhook(ui, repo, node, True)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/eol.py", line 335, in _checkhook
+ _(b"end-of-line check failed:
") + b"
".join(msgs)
+ mercurial.error.Abort: end-of-line check failed:
crlf.txt in 004ba2132725 should not have LF line endings
- [255]
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ printf "first
second
third
" > crlf.txt
$ hg commit -m 'CRLF crlf.txt (fixed)'
@@ -97,9 +251,86 @@
b.txt in fbcf9b1025f5 should not have CRLF line endings
transaction abort!
rollback completed
- abort: end-of-line check failed:
- b.txt in fbcf9b1025f5 should not have CRLF line endings
- [255]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: eol
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2032, in handlechangegroup
+ **extrakwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 497, in _processchangegroup
+ ret = cg.apply(op.repo, tr, source, url, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 509, in apply
+ **pycompat.strkwargs(hookargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 353, in runhooks
+ ui, repo, htype, hname, hookfn, args, throw
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 116, in pythonhook
+ r = obj(ui=ui, repo=repo, hooktype=htype, **pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/eol.py", line 346, in checkheadshook
+ _checkhook(ui, repo, node, True)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/eol.py", line 335, in _checkhook
+ _(b"end-of-line check failed:
") + b"
".join(msgs)
+ mercurial.error.Abort: end-of-line check failed:
+ b.txt in fbcf9b1025f5 should not have CRLF line endings
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ hg up -r -2
0 files updated, 0 files merged, 1 files removed, 0 files unresolved
@@ -117,9 +348,86 @@
b.txt in fbcf9b1025f5 should not have CRLF line endings
transaction abort!
rollback completed
- abort: end-of-line check failed:
- b.txt in fbcf9b1025f5 should not have CRLF line endings
- [255]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: eol
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2032, in handlechangegroup
+ **extrakwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 497, in _processchangegroup
+ ret = cg.apply(op.repo, tr, source, url, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 509, in apply
+ **pycompat.strkwargs(hookargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 353, in runhooks
+ ui, repo, htype, hname, hookfn, args, throw
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 116, in pythonhook
+ r = obj(ui=ui, repo=repo, hooktype=htype, **pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/eol.py", line 346, in checkheadshook
+ _checkhook(ui, repo, node, True)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/eol.py", line 335, in _checkhook
+ _(b"end-of-line check failed:
") + b"
".join(msgs)
+ mercurial.error.Abort: end-of-line check failed:
+ b.txt in fbcf9b1025f5 should not have CRLF line endings
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
Test checkheadshook alias
@@ -137,9 +445,86 @@
b.txt in fbcf9b1025f5 should not have CRLF line endings
transaction abort!
rollback completed
- abort: end-of-line check failed:
- b.txt in fbcf9b1025f5 should not have CRLF line endings
- [255]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: eol
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2032, in handlechangegroup
+ **extrakwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 497, in _processchangegroup
+ ret = cg.apply(op.repo, tr, source, url, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 509, in apply
+ **pycompat.strkwargs(hookargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 353, in runhooks
+ ui, repo, htype, hname, hookfn, args, throw
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 116, in pythonhook
+ r = obj(ui=ui, repo=repo, hooktype=htype, **pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/eol.py", line 346, in checkheadshook
+ _checkhook(ui, repo, node, True)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/eol.py", line 335, in _checkhook
+ _(b"end-of-line check failed:
") + b"
".join(msgs)
+ mercurial.error.Abort: end-of-line check failed:
+ b.txt in fbcf9b1025f5 should not have CRLF line endings
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
We can fix the head and push again
@@ -173,9 +558,86 @@
b.txt in fbcf9b1025f5 should not have CRLF line endings
transaction abort!
rollback completed
- abort: end-of-line check failed:
- b.txt in fbcf9b1025f5 should not have CRLF line endings
- [255]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: eol
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2032, in handlechangegroup
+ **extrakwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 497, in _processchangegroup
+ ret = cg.apply(op.repo, tr, source, url, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 509, in apply
+ **pycompat.strkwargs(hookargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 353, in runhooks
+ ui, repo, htype, hname, hookfn, args, throw
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 116, in pythonhook
+ r = obj(ui=ui, repo=repo, hooktype=htype, **pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/eol.py", line 341, in checkallhook
+ _checkhook(ui, repo, node, False)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/eol.py", line 335, in _checkhook
+ _(b"end-of-line check failed:
") + b"
".join(msgs)
+ mercurial.error.Abort: end-of-line check failed:
+ b.txt in fbcf9b1025f5 should not have CRLF line endings
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
But we can push the clean head
@@ -203,9 +665,86 @@
d.txt in a7040e68714f should not have CRLF line endings
transaction abort!
rollback completed
- abort: end-of-line check failed:
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: eol
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2032, in handlechangegroup
+ **extrakwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 497, in _processchangegroup
+ ret = cg.apply(op.repo, tr, source, url, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 509, in apply
+ **pycompat.strkwargs(hookargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 353, in runhooks
+ ui, repo, htype, hname, hookfn, args, throw
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 116, in pythonhook
+ r = obj(ui=ui, repo=repo, hooktype=htype, **pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/eol.py", line 341, in checkallhook
+ _checkhook(ui, repo, node, False)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/eol.py", line 335, in _checkhook
+ _(b"end-of-line check failed:
") + b"
".join(msgs)
+ mercurial.error.Abort: end-of-line check failed:
b.txt in fbcf9b1025f5 should not have CRLF line endings
d.txt in a7040e68714f should not have CRLF line endings
- [255]
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ cd ..
test-hook.t
--- /hgwork/src/tests/test-hook.t
+++ /hgwork/src/tests/test-hook.t.err
@@ -644,8 +644,77 @@
HG_TXNNAME=push
HG_URL=file:$TESTTMP/a
- abort: prepushkey hook exited with status 1
- [40]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded:
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2398, in handlebookmark
+ b'prepushkey', throw=True, **pycompat.strkwargs(hookargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 356, in runhooks
+ r = _exthook(ui, repo, htype, hname, cmd, args, throw)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 205, in _exthook
+ raise error.HookAbort(_(b'%s hook %s') % (name, desc))
+ mercurial.error.HookAbort: prepushkey hook exited with status 1
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ cd ../a
test that prelistkeys can prevent listing keys
@@ -679,8 +748,65 @@
HG_HOOKTYPE=prelistkeys
HG_NAMESPACE=bookmarks
- abort: prelistkeys hook exited with status 1
- [40]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded:
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 392, in listkeys
+ return self._repo.listkeys(namespace)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 3439, in listkeys
+ self.hook(b'prelistkeys', throw=True, namespace=namespace)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 356, in runhooks
+ r = _exthook(ui, repo, htype, hname, cmd, args, throw)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 205, in _exthook
+ raise error.HookAbort(_(b'%s hook %s') % (name, desc))
+ mercurial.error.HookAbort: prelistkeys hook exited with status 1
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5430, in pull
+ b'listkeys', {b'namespace': b'bookmarks'}
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ cd ../a
$ rm .hg/hgrc
@@ -786,8 +912,75 @@
HG_HOOKTYPE=preoutgoing
HG_SOURCE=pull
- abort: preoutgoing.forbid hook exited with status 1
- [40]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded:
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 373, in getbundle
+ **kwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2377, in getbundlechunks
+ **pycompat.strkwargs(kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2436, in _getbundlechangegrouppart
+ remote_sidedata=remote_sidedata,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 1918, in makestream
+ repo.hook(b'preoutgoing', throw=True, source=source)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 356, in runhooks
+ r = _exthook(ui, repo, htype, hname, cmd, args, throw)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 205, in _exthook
+ raise error.HookAbort(_(b'%s hook %s') % (name, desc))
+ mercurial.error.HookAbort: preoutgoing.forbid hook exited with status 1
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5463, in pull
+ confirm=opts.get(b'confirm'),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1681, in pull
+ _fullpullbundle2(repo, pullop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1532, in _fullpullbundle2
+ _pullbundle2(pullop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1881, in _pullbundle2
+ bundle = e.callcommand(b'getbundle', args).result()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
outgoing hooks work for local clones
@@ -903,8 +1096,77 @@
pulling from ../a
searching for changes
error: preoutgoing.abort hook failed: raise abort from hook
- abort: raise abort from hook
- [255]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded:
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 373, in getbundle
+ **kwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2377, in getbundlechunks
+ **pycompat.strkwargs(kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2436, in _getbundlechangegrouppart
+ remote_sidedata=remote_sidedata,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 1918, in makestream
+ repo.hook(b'preoutgoing', throw=True, source=source)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 353, in runhooks
+ ui, repo, htype, hname, hookfn, args, throw
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 116, in pythonhook
+ r = obj(ui=ui, repo=repo, hooktype=htype, **pycompat.strkwargs(args))
+ File "$TESTTMP/b/hooktests.py", line 29, in aborthook
+ raise error.Abort(b'raise abort from hook')
+ mercurial.error.Abort: raise abort from hook
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5463, in pull
+ confirm=opts.get(b'confirm'),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1681, in pull
+ _fullpullbundle2(repo, pullop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1532, in _fullpullbundle2
+ _pullbundle2(pullop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1881, in _pullbundle2
+ bundle = e.callcommand(b'getbundle', args).result()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ echo '[hooks]' > ../a/.hg/hgrc
$ echo 'preoutgoing.fail = python:hooktests.failhook' >> ../a/.hg/hgrc
@@ -914,59 +1176,584 @@
hook args:
hooktype preoutgoing
source pull
- abort: preoutgoing.fail hook failed
- [40]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded:
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 373, in getbundle
+ **kwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2377, in getbundlechunks
+ **pycompat.strkwargs(kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2436, in _getbundlechangegrouppart
+ remote_sidedata=remote_sidedata,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 1918, in makestream
+ repo.hook(b'preoutgoing', throw=True, source=source)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 353, in runhooks
+ ui, repo, htype, hname, hookfn, args, throw
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 142, in pythonhook
+ raise error.HookAbort(_(b'%s hook failed') % hname)
+ mercurial.error.HookAbort: preoutgoing.fail hook failed
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5463, in pull
+ confirm=opts.get(b'confirm'),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1681, in pull
+ _fullpullbundle2(repo, pullop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1532, in _fullpullbundle2
+ _pullbundle2(pullop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1881, in _pullbundle2
+ bundle = e.callcommand(b'getbundle', args).result()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ echo '[hooks]' > ../a/.hg/hgrc
$ echo 'preoutgoing.uncallable = python:hooktests.uncallable' >> ../a/.hg/hgrc
$ hg pull ../a
pulling from ../a
searching for changes
- abort: preoutgoing.uncallable hook is invalid: "hooktests.uncallable" is not callable
- [255]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded:
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 373, in getbundle
+ **kwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2377, in getbundlechunks
+ **pycompat.strkwargs(kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2436, in _getbundlechangegrouppart
+ remote_sidedata=remote_sidedata,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 1918, in makestream
+ repo.hook(b'preoutgoing', throw=True, source=source)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 353, in runhooks
+ ui, repo, htype, hname, hookfn, args, throw
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 109, in pythonhook
+ % (hname, funcname)
+ mercurial.error.HookLoadError: preoutgoing.uncallable hook is invalid: "hooktests.uncallable" is not callable
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5463, in pull
+ confirm=opts.get(b'confirm'),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1681, in pull
+ _fullpullbundle2(repo, pullop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1532, in _fullpullbundle2
+ _pullbundle2(pullop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1881, in _pullbundle2
+ bundle = e.callcommand(b'getbundle', args).result()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ echo '[hooks]' > ../a/.hg/hgrc
$ echo 'preoutgoing.nohook = python:hooktests.nohook' >> ../a/.hg/hgrc
$ hg pull ../a
pulling from ../a
searching for changes
- abort: preoutgoing.nohook hook is invalid: "hooktests.nohook" is not defined
- [255]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded:
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 100, in pythonhook
+ obj = getattr(obj, p)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 309, in w
+ return f(object, sysstr(name), *args)
+ AttributeError: module 'hooktests' has no attribute 'nohook'
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 373, in getbundle
+ **kwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2377, in getbundlechunks
+ **pycompat.strkwargs(kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2436, in _getbundlechangegrouppart
+ remote_sidedata=remote_sidedata,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 1918, in makestream
+ repo.hook(b'preoutgoing', throw=True, source=source)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 353, in runhooks
+ ui, repo, htype, hname, hookfn, args, throw
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 104, in pythonhook
+ % (hname, funcname)
+ mercurial.error.HookLoadError: preoutgoing.nohook hook is invalid: "hooktests.nohook" is not defined
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5463, in pull
+ confirm=opts.get(b'confirm'),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1681, in pull
+ _fullpullbundle2(repo, pullop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1532, in _fullpullbundle2
+ _pullbundle2(pullop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1881, in _pullbundle2
+ bundle = e.callcommand(b'getbundle', args).result()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ echo '[hooks]' > ../a/.hg/hgrc
$ echo 'preoutgoing.nomodule = python:nomodule' >> ../a/.hg/hgrc
$ hg pull ../a
pulling from ../a
searching for changes
- abort: preoutgoing.nomodule hook is invalid: "nomodule" not in a module
- [255]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded:
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 373, in getbundle
+ **kwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2377, in getbundlechunks
+ **pycompat.strkwargs(kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2436, in _getbundlechangegrouppart
+ remote_sidedata=remote_sidedata,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 1918, in makestream
+ repo.hook(b'preoutgoing', throw=True, source=source)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 353, in runhooks
+ ui, repo, htype, hname, hookfn, args, throw
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 49, in pythonhook
+ % (hname, funcname)
+ mercurial.error.HookLoadError: preoutgoing.nomodule hook is invalid: "nomodule" not in a module
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5463, in pull
+ confirm=opts.get(b'confirm'),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1681, in pull
+ _fullpullbundle2(repo, pullop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1532, in _fullpullbundle2
+ _pullbundle2(pullop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1881, in _pullbundle2
+ bundle = e.callcommand(b'getbundle', args).result()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ echo '[hooks]' > ../a/.hg/hgrc
$ echo 'preoutgoing.badmodule = python:nomodule.nowhere' >> ../a/.hg/hgrc
$ hg pull ../a
pulling from ../a
searching for changes
- abort: preoutgoing.badmodule hook is invalid: import of "nomodule" failed
- (run with --traceback for stack trace)
- [255]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded:
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 61, in pythonhook
+ obj = __import__(pycompat.sysstr(modname))
+ ModuleNotFoundError: No module named 'nomodule'
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 66, in pythonhook
+ obj = __import__("hgext_%s" % pycompat.sysstr(modname))
+ ModuleNotFoundError: No module named 'hgext_nomodule'
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 373, in getbundle
+ **kwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2377, in getbundlechunks
+ **pycompat.strkwargs(kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2436, in _getbundlechangegrouppart
+ remote_sidedata=remote_sidedata,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 1918, in makestream
+ repo.hook(b'preoutgoing', throw=True, source=source)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 353, in runhooks
+ ui, repo, htype, hname, hookfn, args, throw
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 95, in pythonhook
+ hint=tracebackhint,
+ mercurial.error.HookLoadError: preoutgoing.badmodule hook is invalid: import of "nomodule" failed
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5463, in pull
+ confirm=opts.get(b'confirm'),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1681, in pull
+ _fullpullbundle2(repo, pullop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1532, in _fullpullbundle2
+ _pullbundle2(pullop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1881, in _pullbundle2
+ bundle = e.callcommand(b'getbundle', args).result()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ echo '[hooks]' > ../a/.hg/hgrc
$ echo 'preoutgoing.unreachable = python:hooktests.container.unreachable' >> ../a/.hg/hgrc
$ hg pull ../a
pulling from ../a
searching for changes
- abort: preoutgoing.unreachable hook is invalid: import of "hooktests.container" failed
- (run with --traceback for stack trace)
- [255]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded:
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 61, in pythonhook
+ obj = __import__(pycompat.sysstr(modname))
+ ModuleNotFoundError: No module named 'hooktests.container'; 'hooktests' is not a package
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 66, in pythonhook
+ obj = __import__("hgext_%s" % pycompat.sysstr(modname))
+ ModuleNotFoundError: No module named 'hgext_hooktests'
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 373, in getbundle
+ **kwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2377, in getbundlechunks
+ **pycompat.strkwargs(kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2436, in _getbundlechangegrouppart
+ remote_sidedata=remote_sidedata,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 1918, in makestream
+ repo.hook(b'preoutgoing', throw=True, source=source)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 353, in runhooks
+ ui, repo, htype, hname, hookfn, args, throw
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 95, in pythonhook
+ hint=tracebackhint,
+ mercurial.error.HookLoadError: preoutgoing.unreachable hook is invalid: import of "hooktests.container" failed
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5463, in pull
+ confirm=opts.get(b'confirm'),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1681, in pull
+ _fullpullbundle2(repo, pullop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1532, in _fullpullbundle2
+ _pullbundle2(pullop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1881, in _pullbundle2
+ bundle = e.callcommand(b'getbundle', args).result()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ echo '[hooks]' > ../a/.hg/hgrc
$ echo 'preoutgoing.syntaxerror = python:syntaxerror.syntaxerror' >> ../a/.hg/hgrc
$ hg pull ../a
pulling from ../a
searching for changes
- abort: preoutgoing.syntaxerror hook is invalid: import of "syntaxerror" failed
- (run with --traceback for stack trace)
- [255]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded:
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 61, in pythonhook
+ obj = __import__(pycompat.sysstr(modname))
+ File "<frozen importlib._bootstrap>", line 983, in _find_and_load
+ File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
+ File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgdemandimport/demandimportpy3.py", line 52, in exec_module
+ self.loader.exec_module(module)
+ File "$TESTTMP/b/syntaxerror.py", line 1
+ (foo
+ ^
+ SyntaxError: unexpected EOF while parsing
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 66, in pythonhook
+ obj = __import__("hgext_%s" % pycompat.sysstr(modname))
+ ModuleNotFoundError: No module named 'hgext_syntaxerror'
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 373, in getbundle
+ **kwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2377, in getbundlechunks
+ **pycompat.strkwargs(kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2436, in _getbundlechangegrouppart
+ remote_sidedata=remote_sidedata,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 1918, in makestream
+ repo.hook(b'preoutgoing', throw=True, source=source)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 353, in runhooks
+ ui, repo, htype, hname, hookfn, args, throw
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 95, in pythonhook
+ hint=tracebackhint,
+ mercurial.error.HookLoadError: preoutgoing.syntaxerror hook is invalid: import of "syntaxerror" failed
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5463, in pull
+ confirm=opts.get(b'confirm'),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1681, in pull
+ _fullpullbundle2(repo, pullop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1532, in _fullpullbundle2
+ _pullbundle2(pullop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1881, in _pullbundle2
+ bundle = e.callcommand(b'getbundle', args).result()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ hg pull ../a --traceback 2>&1 | egrep 'pulling|searching|^exception|Traceback|SyntaxError|ImportError|ModuleNotFoundError|HookLoadError|abort'
pulling from ../a
@@ -988,7 +1775,14 @@
Traceback (most recent call last): (py3 !)
raise error.HookLoadError( (py38 !)
mercurial.error.HookLoadError: preoutgoing.syntaxerror hook is invalid: import of "syntaxerror" failed (py3 !)
- abort: preoutgoing.syntaxerror hook is invalid: import of "syntaxerror" failed
+ Traceback (most recent call last):
+ Traceback (most recent call last):
+ SyntaxError: unexpected EOF while parsing
+ Traceback (most recent call last):
+ ModuleNotFoundError: No module named 'hgext_syntaxerror'
+ Traceback (most recent call last):
+ mercurial.error.HookLoadError: preoutgoing.syntaxerror hook is invalid: import of "syntaxerror" failed
+ Traceback (most recent call last):
$ echo '[hooks]' > ../a/.hg/hgrc
$ echo 'preoutgoing.pass = python:hooktests.passhook' >> ../a/.hg/hgrc
test-http-bad-server.t
--- /hgwork/src/tests/test-http-bad-server.t
+++ /hgwork/src/tests/test-http-bad-server.t.err
@@ -158,8 +158,100 @@
$ cat hg.pid > $DAEMON_PIDS
$ hg clone http://localhost:$HGPORT/ clone
requesting all changes
- abort: error: bad HTTP status line: * (glob)
- [100]
+ ** Unknown exception encountered with possibly-broken third-party extension "fakeversion" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "fakeversion" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 4.2)
+ ** Extensions loaded: badserver, fakeversion
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/keepalive.py", line 241, in do_open
+ r = h.getresponse()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/url.py", line 207, in getresponse
+ return keepalive.HTTPConnection.getresponse(self)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/keepalive.py", line 459, in safegetresponse
+ return cls.getresponse(self)
+ File "/usr/lib/python3.7/http/client.py", line 1352, in getresponse
+ response.begin()
+ File "/usr/lib/python3.7/http/client.py", line 310, in begin
+ version, status, reason = self._read_status()
+ File "/usr/lib/python3.7/http/client.py", line 279, in _read_status
+ raise RemoteDisconnected("Remote end closed connection without"
+ http.client.RemoteDisconnected: Remote end closed connection without response
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 212, in sendcommands
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 459, in getbundle
+ f = self._callcompressable(b"getbundle", **pycompat.strkwargs(opts))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 526, in _callcompressable
+ return self._callstream(cmd, _compressible=True, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 451, in _callstream
+ resp = sendrequest(self.ui, self._urlopener, req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 279, in sendrequest
+ res = opener.open(req)
+ File "/usr/lib/python3.7/urllib/request.py", line 525, in open
+ response = self._open(req, data)
+ File "/usr/lib/python3.7/urllib/request.py", line 543, in _open
+ '_open', req)
+ File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
+ result = func(*args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/url.py", line 332, in http_open
+ return self.do_open(httpconnection, req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/keepalive.py", line 246, in do_open
+ _(b'bad HTTP status line: %s') % pycompat.sysbytes(err.line)
+ urllib.error.URLError: <urlopen error b"bad HTTP status line: ''">
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 1967, in clone
+ depth=opts.get(b'depth') or None,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hg.py", line 957, in clone
+ depth=depth,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1681, in pull
+ _fullpullbundle2(repo, pullop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1532, in _fullpullbundle2
+ _pullbundle2(pullop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1881, in _pullbundle2
+ bundle = e.callcommand(b'getbundle', args).result()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 179, in callcommand
+ self.sendcommands()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 214, in sendcommands
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ killdaemons.py $DAEMON_PIDS
@@ -441,12 +533,73 @@
$ hg clone http://localhost:$HGPORT/ clone
requesting all changes
- abort: 'http://localhost:$HGPORT/' does not appear to be an hg repository:
- ---%<--- (application/mercuri)
-
- ---%<---
-
- [255]
+ ** Unknown exception encountered with possibly-broken third-party extension "fakeversion" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "fakeversion" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 4.2)
+ ** Extensions loaded: badserver, fakeversion
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 212, in sendcommands
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 459, in getbundle
+ f = self._callcompressable(b"getbundle", **pycompat.strkwargs(opts))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 526, in _callcompressable
+ return self._callstream(cmd, _compressible=True, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 454, in _callstream
+ self.ui, self._url, cu, qs, resp, _compressible
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 350, in parsev1commandresponse
+ raise error.RepoError(msg)
+ mercurial.error.RepoError: b"'http://localhost:$HGPORT/' does not appear to be an hg repository:
---%<--- (application/mercuri)
---%<---
"
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 1967, in clone
+ depth=opts.get(b'depth') or None,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hg.py", line 957, in clone
+ depth=depth,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1681, in pull
+ _fullpullbundle2(repo, pullop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1532, in _fullpullbundle2
+ _pullbundle2(pullop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1881, in _pullbundle2
+ bundle = e.callcommand(b'getbundle', args).result()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 179, in callcommand
+ self.sendcommands()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 214, in sendcommands
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ killdaemons.py $DAEMON_PIDS
@@ -504,8 +657,75 @@
$ hg clone http://localhost:$HGPORT/ clone
requesting all changes
- abort: stream ended unexpectedly (got 0 bytes, expected 1)
- [255]
+ ** Unknown exception encountered with possibly-broken third-party extension "fakeversion" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "fakeversion" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 4.2)
+ ** Extensions loaded: badserver, fakeversion
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 212, in sendcommands
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 459, in getbundle
+ f = self._callcompressable(b"getbundle", **pycompat.strkwargs(opts))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 526, in _callcompressable
+ return self._callstream(cmd, _compressible=True, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 454, in _callstream
+ self.ui, self._url, cu, qs, resp, _compressible
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 370, in parsev1commandresponse
+ elen = struct.unpack(b'B', util.readexactly(resp, 1))[0]
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 3170, in readexactly
+ % (len(s), n)
+ mercurial.error.Abort: stream ended unexpectedly (got 0 bytes, expected 1)
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 1967, in clone
+ depth=opts.get(b'depth') or None,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hg.py", line 957, in clone
+ depth=depth,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1681, in pull
+ _fullpullbundle2(repo, pullop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1532, in _fullpullbundle2
+ _pullbundle2(pullop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1881, in _pullbundle2
+ bundle = e.callcommand(b'getbundle', args).result()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 179, in callcommand
+ self.sendcommands()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 214, in sendcommands
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ killdaemons.py $DAEMON_PIDS
@@ -542,9 +762,108 @@
$ hg clone http://localhost:$HGPORT/ clone
requesting all changes
- abort: HTTP request error (incomplete response)
- (this may be an intermittent network failure; if the error persists, consider contacting the network or server operator)
- [255]
+ ** Unknown exception encountered with possibly-broken third-party extension "fakeversion" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "fakeversion" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 4.2)
+ ** Extensions loaded: badserver, fakeversion
+ Traceback (most recent call last):
+ File "/usr/lib/python3.7/http/client.py", line 558, in _get_chunk_left
+ chunk_left = self._read_next_chunk_size()
+ File "/usr/lib/python3.7/http/client.py", line 525, in _read_next_chunk_size
+ return int(line, 16)
+ ValueError: invalid literal for int() with base 16: b''
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/usr/lib/python3.7/http/client.py", line 590, in _readinto_chunked
+ chunk_left = self._get_chunk_left()
+ File "/usr/lib/python3.7/http/client.py", line 560, in _get_chunk_left
+ raise IncompleteRead(b'')
+ http.client.IncompleteRead: IncompleteRead(0 bytes read)
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/url.py", line 691, in read
+ return origread(size)
+ File "/usr/lib/python3.7/http/client.py", line 461, in read
+ n = self.readinto(b)
+ File "/usr/lib/python3.7/http/client.py", line 495, in readinto
+ return self._readinto_chunked(b)
+ File "/usr/lib/python3.7/http/client.py", line 606, in _readinto_chunked
+ raise IncompleteRead(bytes(b[0:total_bytes]))
+ http.client.IncompleteRead: IncompleteRead(0 bytes read)
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 212, in sendcommands
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 459, in getbundle
+ f = self._callcompressable(b"getbundle", **pycompat.strkwargs(opts))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 526, in _callcompressable
+ return self._callstream(cmd, _compressible=True, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 454, in _callstream
+ self.ui, self._url, cu, qs, resp, _compressible
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 370, in parsev1commandresponse
+ elen = struct.unpack(b'B', util.readexactly(resp, 1))[0]
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 3166, in readexactly
+ s = stream.read(n)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/url.py", line 707, in read
+ b'this may be an intermittent network failure; '
+ mercurial.error.PeerTransportError: HTTP request error (incomplete response)
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 1967, in clone
+ depth=opts.get(b'depth') or None,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hg.py", line 957, in clone
+ depth=depth,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1681, in pull
+ _fullpullbundle2(repo, pullop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1532, in _fullpullbundle2
+ _pullbundle2(pullop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1881, in _pullbundle2
+ bundle = e.callcommand(b'getbundle', args).result()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 179, in callcommand
+ self.sendcommands()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 214, in sendcommands
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ killdaemons.py $DAEMON_PIDS
@@ -663,9 +982,95 @@
$ hg clone http://localhost:$HGPORT/ clone
requesting all changes
- abort: HTTP request error (incomplete response) (py3 !)
- (this may be an intermittent network failure; if the error persists, consider contacting the network or server operator)
- [255]
+ ** Unknown exception encountered with possibly-broken third-party extension "fakeversion" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "fakeversion" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 4.2)
+ ** Extensions loaded: badserver, fakeversion
+ Traceback (most recent call last):
+ File "/usr/lib/python3.7/http/client.py", line 595, in _readinto_chunked
+ n = self._safe_readinto(mvb)
+ File "/usr/lib/python3.7/http/client.py", line 642, in _safe_readinto
+ raise IncompleteRead(bytes(mvb[0:total_bytes]), len(b))
+ http.client.IncompleteRead: IncompleteRead(1 bytes read, 4 more expected)
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/url.py", line 691, in read
+ return origread(size)
+ File "/usr/lib/python3.7/http/client.py", line 461, in read
+ n = self.readinto(b)
+ File "/usr/lib/python3.7/http/client.py", line 495, in readinto
+ return self._readinto_chunked(b)
+ File "/usr/lib/python3.7/http/client.py", line 606, in _readinto_chunked
+ raise IncompleteRead(bytes(b[0:total_bytes]))
+ http.client.IncompleteRead: IncompleteRead(0 bytes read)
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 212, in sendcommands
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 461, in getbundle
+ return bundle2.getunbundler(self.ui, f)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 784, in getunbundler
+ magicstring = changegroup.readexactly(fp, 4)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 3166, in readexactly
+ s = stream.read(n)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/url.py", line 707, in read
+ b'this may be an intermittent network failure; '
+ mercurial.error.PeerTransportError: HTTP request error (incomplete response)
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 1967, in clone
+ depth=opts.get(b'depth') or None,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hg.py", line 957, in clone
+ depth=depth,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1681, in pull
+ _fullpullbundle2(repo, pullop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1532, in _fullpullbundle2
+ _pullbundle2(pullop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1881, in _pullbundle2
+ bundle = e.callcommand(b'getbundle', args).result()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 179, in callcommand
+ self.sendcommands()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 214, in sendcommands
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ killdaemons.py $DAEMON_PIDS
test-http-permissions.t
--- /hgwork/src/tests/test-http-permissions.t
+++ /hgwork/src/tests/test-http-permissions.t.err
@@ -873,14 +873,156 @@
pushing to http://localhost:$HGPORT/
searching for changes
no changes found
- abort: HTTP Error 403: ssl required
- [100]
+ ** Unknown exception encountered with possibly-broken third-party extension "fakeremoteuser" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "fakeremoteuser" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: fakeremoteuser, strip
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 212, in sendcommands
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 502, in unbundle
+ stream = self._calltwowaystream(b'unbundle', bundle, heads=heads)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 520, in _calltwowaystream
+ return self._callstream(cmd, data=fp_, headers=headers, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 451, in _callstream
+ resp = sendrequest(self.ui, self._urlopener, req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 279, in sendrequest
+ res = opener.open(req)
+ File "/usr/lib/python3.7/urllib/request.py", line 531, in open
+ response = meth(req, response)
+ File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response
+ 'http', request, response, code, msg, hdrs)
+ File "/usr/lib/python3.7/urllib/request.py", line 569, in error
+ return self._call_chain(*args)
+ File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
+ result = func(*args)
+ File "/usr/lib/python3.7/urllib/request.py", line 649, in http_error_default
+ raise HTTPError(req.full_url, code, msg, hdrs, fp)
+ urllib.error.HTTPError: HTTP Error 403: ssl required
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 179, in callcommand
+ self.sendcommands()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 214, in sendcommands
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ hg --cwd ../test2 push http://localhost:$HGPORT/
pushing to http://localhost:$HGPORT/
searching for changes
- abort: HTTP Error 403: ssl required
- [100]
+ ** Unknown exception encountered with possibly-broken third-party extension "fakeremoteuser" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "fakeremoteuser" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: fakeremoteuser, strip
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 212, in sendcommands
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 502, in unbundle
+ stream = self._calltwowaystream(b'unbundle', bundle, heads=heads)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 520, in _calltwowaystream
+ return self._callstream(cmd, data=fp_, headers=headers, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 451, in _callstream
+ resp = sendrequest(self.ui, self._urlopener, req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 279, in sendrequest
+ res = opener.open(req)
+ File "/usr/lib/python3.7/urllib/request.py", line 531, in open
+ response = meth(req, response)
+ File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response
+ 'http', request, response, code, msg, hdrs)
+ File "/usr/lib/python3.7/urllib/request.py", line 569, in error
+ return self._call_chain(*args)
+ File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
+ result = func(*args)
+ File "/usr/lib/python3.7/urllib/request.py", line 649, in http_error_default
+ raise HTTPError(req.full_url, code, msg, hdrs, fp)
+ urllib.error.HTTPError: HTTP Error 403: ssl required
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 179, in callcommand
+ self.sendcommands()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 214, in sendcommands
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ killdaemons.py
@@ -936,14 +1078,170 @@
pushing to http://localhost:$HGPORT/
searching for changes
no changes found
- abort: authorization failed
- [255]
+ ** Unknown exception encountered with possibly-broken third-party extension "fakeremoteuser" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "fakeremoteuser" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: fakeremoteuser, strip
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 279, in sendrequest
+ res = opener.open(req)
+ File "/usr/lib/python3.7/urllib/request.py", line 531, in open
+ response = meth(req, response)
+ File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response
+ 'http', request, response, code, msg, hdrs)
+ File "/usr/lib/python3.7/urllib/request.py", line 569, in error
+ return self._call_chain(*args)
+ File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
+ result = func(*args)
+ File "/usr/lib/python3.7/urllib/request.py", line 649, in http_error_default
+ raise HTTPError(req.full_url, code, msg, hdrs, fp)
+ urllib.error.HTTPError: HTTP Error 401: push not authorized
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 212, in sendcommands
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 502, in unbundle
+ stream = self._calltwowaystream(b'unbundle', bundle, heads=heads)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 520, in _calltwowaystream
+ return self._callstream(cmd, data=fp_, headers=headers, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 451, in _callstream
+ resp = sendrequest(self.ui, self._urlopener, req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 282, in sendrequest
+ raise error.Abort(_(b'authorization failed'))
+ mercurial.error.Abort: authorization failed
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 179, in callcommand
+ self.sendcommands()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 214, in sendcommands
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ hg --cwd ../test2 push http://localhost:$HGPORT/
pushing to http://localhost:$HGPORT/
searching for changes
- abort: authorization failed
- [255]
+ ** Unknown exception encountered with possibly-broken third-party extension "fakeremoteuser" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "fakeremoteuser" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: fakeremoteuser, strip
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 279, in sendrequest
+ res = opener.open(req)
+ File "/usr/lib/python3.7/urllib/request.py", line 531, in open
+ response = meth(req, response)
+ File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response
+ 'http', request, response, code, msg, hdrs)
+ File "/usr/lib/python3.7/urllib/request.py", line 569, in error
+ return self._call_chain(*args)
+ File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
+ result = func(*args)
+ File "/usr/lib/python3.7/urllib/request.py", line 649, in http_error_default
+ raise HTTPError(req.full_url, code, msg, hdrs, fp)
+ urllib.error.HTTPError: HTTP Error 401: push not authorized
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 212, in sendcommands
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 502, in unbundle
+ stream = self._calltwowaystream(b'unbundle', bundle, heads=heads)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 520, in _calltwowaystream
+ return self._callstream(cmd, data=fp_, headers=headers, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 451, in _callstream
+ resp = sendrequest(self.ui, self._urlopener, req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 282, in sendrequest
+ raise error.Abort(_(b'authorization failed'))
+ mercurial.error.Abort: authorization failed
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 179, in callcommand
+ self.sendcommands()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 214, in sendcommands
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ killdaemons.py
@@ -993,14 +1291,170 @@
pushing to http://localhost:$HGPORT/
searching for changes
no changes found
- abort: authorization failed
- [255]
+ ** Unknown exception encountered with possibly-broken third-party extension "fakeremoteuser" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "fakeremoteuser" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: fakeremoteuser, strip
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 279, in sendrequest
+ res = opener.open(req)
+ File "/usr/lib/python3.7/urllib/request.py", line 531, in open
+ response = meth(req, response)
+ File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response
+ 'http', request, response, code, msg, hdrs)
+ File "/usr/lib/python3.7/urllib/request.py", line 569, in error
+ return self._call_chain(*args)
+ File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
+ result = func(*args)
+ File "/usr/lib/python3.7/urllib/request.py", line 649, in http_error_default
+ raise HTTPError(req.full_url, code, msg, hdrs, fp)
+ urllib.error.HTTPError: HTTP Error 401: push not authorized
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 212, in sendcommands
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 502, in unbundle
+ stream = self._calltwowaystream(b'unbundle', bundle, heads=heads)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 520, in _calltwowaystream
+ return self._callstream(cmd, data=fp_, headers=headers, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 451, in _callstream
+ resp = sendrequest(self.ui, self._urlopener, req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 282, in sendrequest
+ raise error.Abort(_(b'authorization failed'))
+ mercurial.error.Abort: authorization failed
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 179, in callcommand
+ self.sendcommands()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 214, in sendcommands
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ hg --cwd ../test2 push http://localhost:$HGPORT/
pushing to http://localhost:$HGPORT/
searching for changes
- abort: authorization failed
- [255]
+ ** Unknown exception encountered with possibly-broken third-party extension "fakeremoteuser" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "fakeremoteuser" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: fakeremoteuser, strip
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 279, in sendrequest
+ res = opener.open(req)
+ File "/usr/lib/python3.7/urllib/request.py", line 531, in open
+ response = meth(req, response)
+ File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response
+ 'http', request, response, code, msg, hdrs)
+ File "/usr/lib/python3.7/urllib/request.py", line 569, in error
+ return self._call_chain(*args)
+ File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
+ result = func(*args)
+ File "/usr/lib/python3.7/urllib/request.py", line 649, in http_error_default
+ raise HTTPError(req.full_url, code, msg, hdrs, fp)
+ urllib.error.HTTPError: HTTP Error 401: push not authorized
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 212, in sendcommands
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 502, in unbundle
+ stream = self._calltwowaystream(b'unbundle', bundle, heads=heads)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 520, in _calltwowaystream
+ return self._callstream(cmd, data=fp_, headers=headers, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 451, in _callstream
+ resp = sendrequest(self.ui, self._urlopener, req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 282, in sendrequest
+ raise error.Abort(_(b'authorization failed'))
+ mercurial.error.Abort: authorization failed
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 179, in callcommand
+ self.sendcommands()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 214, in sendcommands
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ killdaemons.py
@@ -1056,14 +1510,170 @@
pushing to http://localhost:$HGPORT/
searching for changes
no changes found
- abort: authorization failed
- [255]
+ ** Unknown exception encountered with possibly-broken third-party extension "fakeremoteuser" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "fakeremoteuser" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: fakeremoteuser, strip
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 279, in sendrequest
+ res = opener.open(req)
+ File "/usr/lib/python3.7/urllib/request.py", line 531, in open
+ response = meth(req, response)
+ File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response
+ 'http', request, response, code, msg, hdrs)
+ File "/usr/lib/python3.7/urllib/request.py", line 569, in error
+ return self._call_chain(*args)
+ File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
+ result = func(*args)
+ File "/usr/lib/python3.7/urllib/request.py", line 649, in http_error_default
+ raise HTTPError(req.full_url, code, msg, hdrs, fp)
+ urllib.error.HTTPError: HTTP Error 401: push not authorized
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 212, in sendcommands
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 502, in unbundle
+ stream = self._calltwowaystream(b'unbundle', bundle, heads=heads)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 520, in _calltwowaystream
+ return self._callstream(cmd, data=fp_, headers=headers, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 451, in _callstream
+ resp = sendrequest(self.ui, self._urlopener, req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 282, in sendrequest
+ raise error.Abort(_(b'authorization failed'))
+ mercurial.error.Abort: authorization failed
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 179, in callcommand
+ self.sendcommands()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 214, in sendcommands
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ hg --cwd ../test2 push http://localhost:$HGPORT/
pushing to http://localhost:$HGPORT/
searching for changes
- abort: authorization failed
- [255]
+ ** Unknown exception encountered with possibly-broken third-party extension "fakeremoteuser" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "fakeremoteuser" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: fakeremoteuser, strip
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 279, in sendrequest
+ res = opener.open(req)
+ File "/usr/lib/python3.7/urllib/request.py", line 531, in open
+ response = meth(req, response)
+ File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response
+ 'http', request, response, code, msg, hdrs)
+ File "/usr/lib/python3.7/urllib/request.py", line 569, in error
+ return self._call_chain(*args)
+ File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
+ result = func(*args)
+ File "/usr/lib/python3.7/urllib/request.py", line 649, in http_error_default
+ raise HTTPError(req.full_url, code, msg, hdrs, fp)
+ urllib.error.HTTPError: HTTP Error 401: push not authorized
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 212, in sendcommands
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 502, in unbundle
+ stream = self._calltwowaystream(b'unbundle', bundle, heads=heads)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 520, in _calltwowaystream
+ return self._callstream(cmd, data=fp_, headers=headers, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 451, in _callstream
+ resp = sendrequest(self.ui, self._urlopener, req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 282, in sendrequest
+ raise error.Abort(_(b'authorization failed'))
+ mercurial.error.Abort: authorization failed
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 179, in callcommand
+ self.sendcommands()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 214, in sendcommands
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ killdaemons.py
@@ -1113,14 +1723,170 @@
pushing to http://localhost:$HGPORT/
searching for changes
no changes found
- abort: authorization failed
- [255]
+ ** Unknown exception encountered with possibly-broken third-party extension "fakeremoteuser" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "fakeremoteuser" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: fakeremoteuser, strip
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 279, in sendrequest
+ res = opener.open(req)
+ File "/usr/lib/python3.7/urllib/request.py", line 531, in open
+ response = meth(req, response)
+ File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response
+ 'http', request, response, code, msg, hdrs)
+ File "/usr/lib/python3.7/urllib/request.py", line 569, in error
+ return self._call_chain(*args)
+ File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
+ result = func(*args)
+ File "/usr/lib/python3.7/urllib/request.py", line 649, in http_error_default
+ raise HTTPError(req.full_url, code, msg, hdrs, fp)
+ urllib.error.HTTPError: HTTP Error 401: push not authorized
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 212, in sendcommands
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 502, in unbundle
+ stream = self._calltwowaystream(b'unbundle', bundle, heads=heads)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 520, in _calltwowaystream
+ return self._callstream(cmd, data=fp_, headers=headers, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 451, in _callstream
+ resp = sendrequest(self.ui, self._urlopener, req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 282, in sendrequest
+ raise error.Abort(_(b'authorization failed'))
+ mercurial.error.Abort: authorization failed
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 179, in callcommand
+ self.sendcommands()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 214, in sendcommands
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ hg --cwd ../test2 push http://localhost:$HGPORT/
pushing to http://localhost:$HGPORT/
searching for changes
- abort: authorization failed
- [255]
+ ** Unknown exception encountered with possibly-broken third-party extension "fakeremoteuser" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "fakeremoteuser" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: fakeremoteuser, strip
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 279, in sendrequest
+ res = opener.open(req)
+ File "/usr/lib/python3.7/urllib/request.py", line 531, in open
+ response = meth(req, response)
+ File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response
+ 'http', request, response, code, msg, hdrs)
+ File "/usr/lib/python3.7/urllib/request.py", line 569, in error
+ return self._call_chain(*args)
+ File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
+ result = func(*args)
+ File "/usr/lib/python3.7/urllib/request.py", line 649, in http_error_default
+ raise HTTPError(req.full_url, code, msg, hdrs, fp)
+ urllib.error.HTTPError: HTTP Error 401: push not authorized
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 212, in sendcommands
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 502, in unbundle
+ stream = self._calltwowaystream(b'unbundle', bundle, heads=heads)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 520, in _calltwowaystream
+ return self._callstream(cmd, data=fp_, headers=headers, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 451, in _callstream
+ resp = sendrequest(self.ui, self._urlopener, req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 282, in sendrequest
+ raise error.Abort(_(b'authorization failed'))
+ mercurial.error.Abort: authorization failed
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 179, in callcommand
+ self.sendcommands()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 214, in sendcommands
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ killdaemons.py
@@ -1286,14 +2052,170 @@
pushing to http://localhost:$HGPORT/
searching for changes
no changes found
- abort: authorization failed
- [255]
+ ** Unknown exception encountered with possibly-broken third-party extension "fakeremoteuser" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "fakeremoteuser" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: fakeremoteuser, strip
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 279, in sendrequest
+ res = opener.open(req)
+ File "/usr/lib/python3.7/urllib/request.py", line 531, in open
+ response = meth(req, response)
+ File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response
+ 'http', request, response, code, msg, hdrs)
+ File "/usr/lib/python3.7/urllib/request.py", line 569, in error
+ return self._call_chain(*args)
+ File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
+ result = func(*args)
+ File "/usr/lib/python3.7/urllib/request.py", line 649, in http_error_default
+ raise HTTPError(req.full_url, code, msg, hdrs, fp)
+ urllib.error.HTTPError: HTTP Error 401: push not authorized
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 212, in sendcommands
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 502, in unbundle
+ stream = self._calltwowaystream(b'unbundle', bundle, heads=heads)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 520, in _calltwowaystream
+ return self._callstream(cmd, data=fp_, headers=headers, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 451, in _callstream
+ resp = sendrequest(self.ui, self._urlopener, req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 282, in sendrequest
+ raise error.Abort(_(b'authorization failed'))
+ mercurial.error.Abort: authorization failed
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 179, in callcommand
+ self.sendcommands()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 214, in sendcommands
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ hg --cwd ../test2 push http://localhost:$HGPORT/
pushing to http://localhost:$HGPORT/
searching for changes
- abort: authorization failed
- [255]
+ ** Unknown exception encountered with possibly-broken third-party extension "fakeremoteuser" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "fakeremoteuser" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: fakeremoteuser, strip
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 279, in sendrequest
+ res = opener.open(req)
+ File "/usr/lib/python3.7/urllib/request.py", line 531, in open
+ response = meth(req, response)
+ File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response
+ 'http', request, response, code, msg, hdrs)
+ File "/usr/lib/python3.7/urllib/request.py", line 569, in error
+ return self._call_chain(*args)
+ File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
+ result = func(*args)
+ File "/usr/lib/python3.7/urllib/request.py", line 649, in http_error_default
+ raise HTTPError(req.full_url, code, msg, hdrs, fp)
+ urllib.error.HTTPError: HTTP Error 401: push not authorized
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 212, in sendcommands
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 502, in unbundle
+ stream = self._calltwowaystream(b'unbundle', bundle, heads=heads)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 520, in _calltwowaystream
+ return self._callstream(cmd, data=fp_, headers=headers, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 451, in _callstream
+ resp = sendrequest(self.ui, self._urlopener, req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 282, in sendrequest
+ raise error.Abort(_(b'authorization failed'))
+ mercurial.error.Abort: authorization failed
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 179, in callcommand
+ self.sendcommands()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 214, in sendcommands
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ killdaemons.py
@@ -1411,14 +2333,170 @@
pushing to http://localhost:$HGPORT/
searching for changes
no changes found
- abort: authorization failed
- [255]
+ ** Unknown exception encountered with possibly-broken third-party extension "fakeremoteuser" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "fakeremoteuser" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: fakeremoteuser, strip
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 279, in sendrequest
+ res = opener.open(req)
+ File "/usr/lib/python3.7/urllib/request.py", line 531, in open
+ response = meth(req, response)
+ File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response
+ 'http', request, response, code, msg, hdrs)
+ File "/usr/lib/python3.7/urllib/request.py", line 569, in error
+ return self._call_chain(*args)
+ File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
+ result = func(*args)
+ File "/usr/lib/python3.7/urllib/request.py", line 649, in http_error_default
+ raise HTTPError(req.full_url, code, msg, hdrs, fp)
+ urllib.error.HTTPError: HTTP Error 401: push not authorized
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 212, in sendcommands
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 502, in unbundle
+ stream = self._calltwowaystream(b'unbundle', bundle, heads=heads)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 520, in _calltwowaystream
+ return self._callstream(cmd, data=fp_, headers=headers, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 451, in _callstream
+ resp = sendrequest(self.ui, self._urlopener, req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 282, in sendrequest
+ raise error.Abort(_(b'authorization failed'))
+ mercurial.error.Abort: authorization failed
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 179, in callcommand
+ self.sendcommands()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 214, in sendcommands
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ hg --cwd ../test2 push http://localhost:$HGPORT/
pushing to http://localhost:$HGPORT/
searching for changes
- abort: authorization failed
- [255]
+ ** Unknown exception encountered with possibly-broken third-party extension "fakeremoteuser" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "fakeremoteuser" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: fakeremoteuser, strip
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 279, in sendrequest
+ res = opener.open(req)
+ File "/usr/lib/python3.7/urllib/request.py", line 531, in open
+ response = meth(req, response)
+ File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response
+ 'http', request, response, code, msg, hdrs)
+ File "/usr/lib/python3.7/urllib/request.py", line 569, in error
+ return self._call_chain(*args)
+ File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
+ result = func(*args)
+ File "/usr/lib/python3.7/urllib/request.py", line 649, in http_error_default
+ raise HTTPError(req.full_url, code, msg, hdrs, fp)
+ urllib.error.HTTPError: HTTP Error 401: push not authorized
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 212, in sendcommands
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 502, in unbundle
+ stream = self._calltwowaystream(b'unbundle', bundle, heads=heads)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 520, in _calltwowaystream
+ return self._callstream(cmd, data=fp_, headers=headers, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 451, in _callstream
+ resp = sendrequest(self.ui, self._urlopener, req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 282, in sendrequest
+ raise error.Abort(_(b'authorization failed'))
+ mercurial.error.Abort: authorization failed
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 179, in callcommand
+ self.sendcommands()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 214, in sendcommands
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ killdaemons.py
test-infinitepush-ci.t
--- /hgwork/src/tests/test-infinitepush-ci.t
+++ /hgwork/src/tests/test-infinitepush-ci.t.err
@@ -203,8 +203,59 @@
$ hg pull -r b4e4bce660512ad3e71189e14588a70ac8e31fef
pulling from $TESTTMP/repo
- abort: unknown revision 'b4e4bce660512ad3e71189e14588a70ac8e31fef'
- [10]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: infinitepush
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 395, in lookup
+ return self._repo.lookup(key)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2182, in lookup
+ node = scmutil.revsymbol(self, key).node()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 658, in revsymbol
+ raise error.RepoLookupError(_(b"unknown revision '%s'") % symbol)
+ mercurial.error.RepoLookupError: b"unknown revision 'b4e4bce660512ad3e71189e14588a70ac8e31fef'"
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5433, in pull
+ fnodes.append(e.callcommand(b'lookup', {b'key': r}))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ hg glog
o 1:6cb0989601f1 added a
| public
@@ -240,8 +291,67 @@
XXX: we should support this
$ hg pull -r b4e4bce660512
pulling from ssh://user@dummy/repo
- abort: unknown revision 'b4e4bce660512'
- [255]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded:
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 316, in _readbatchresponse
+ result = decode(remoteresult)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 353, in decode
+ self._abort(error.RepoError(data))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/sshpeer.py", line 442, in _abort
+ raise exception
+ mercurial.error.RepoError: b"unknown revision 'b4e4bce660512'"
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5433, in pull
+ fnodes.append(e.callcommand(b'lookup', {b'key': r}))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 126, in __exit__
+ self.close()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 279, in close
+ self._responsef.result()
+ File "/usr/lib/python3.7/concurrent/futures/_base.py", line 432, in result
+ return self.__get_result()
+ File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
+ raise self._exception
+ File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
+ result = self.fn(*self.args, **self.kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 318, in _readbatchresponse
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
XXX: we should show better message when the pull is happening from bundlestore
$ hg pull -r b4e4bce660512ad3e71189e14588a70ac8e31fef
test-lock-badness.t
--- /hgwork/src/tests/test-lock-badness.t
+++ /hgwork/src/tests/test-lock-badness.t.err
@@ -135,7 +135,83 @@
$ hg -R b push a
pushing to a
searching for changes
- abort: could not lock repository a: Permission denied
- [20]
+ ** Unknown exception encountered with possibly-broken third-party extension "testlock" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "testlock" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: testlock
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/lock.py", line 278, in _trylock
+ self.vfs.makelock(lockname, self.f)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/vfs.py", line 201, in makelock
+ return util.makelock(info, self.join(path))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 2154, in makelock
+ ld = os.open(pathname, flags)
+ PermissionError: [Errno 13] Permission denied: b'$TESTTMP/a/.hg/store/lock'
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2692, in unbundle
+ gettransaction()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2680, in gettransaction
+ lockandtr[1] = repo.lock()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 3015, in lock
+ desc=_(b'repository %s') % self.origroot,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2980, in _lock
+ signalsafe=signalsafe,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/lock.py", line 151, in trylock
+ l._trylock()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/lock.py", line 296, in _trylock
+ why.errno, why.strerror, why.filename, self.desc
+ mercurial.error.LockUnavailable: [Errno 13] Permission denied: b'$TESTTMP/a/.hg/store/lock'
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ chmod 700 a/.hg/store
test-narrow-exchange.t#lfs-off
--- /hgwork/src/tests/test-narrow-exchange.t
+++ /hgwork/src/tests/test-narrow-exchange.t#lfs-off.err
@@ -107,8 +107,65 @@
remote: rollback completed
remote: abort: data/inside2/f@4a1aa07735e673e20c00fae80f40dc301ee30616: unknown parent (reporevlogstore !)
remote: abort: data/inside2/f/index@4a1aa07735e6: no node (reposimplestore !)
- abort: stream ended unexpectedly (got 0 bytes, expected 4)
- [255]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: narrow
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 212, in sendcommands
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 503, in unbundle
+ ret = bundle2.getunbundler(self.ui, stream)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 784, in getunbundler
+ magicstring = changegroup.readexactly(fp, 4)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 3170, in readexactly
+ % (len(s), n)
+ mercurial.error.Abort: stream ended unexpectedly (got 0 bytes, expected 4)
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 179, in callcommand
+ self.sendcommands()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 214, in sendcommands
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
Can pull from wider repo if change affects only paths outside remote's
narrow spec
test-narrow-exchange.t#lfs-on
--- /hgwork/src/tests/test-narrow-exchange.t
+++ /hgwork/src/tests/test-narrow-exchange.t#lfs-on.err
@@ -107,8 +107,67 @@
remote: rollback completed
remote: abort: data/inside2/f@4a1aa07735e673e20c00fae80f40dc301ee30616: unknown parent (reporevlogstore !)
remote: abort: data/inside2/f/index@4a1aa07735e6: no node (reposimplestore !)
- abort: stream ended unexpectedly (got 0 bytes, expected 4)
- [255]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: lfs, narrow
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 212, in sendcommands
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 503, in unbundle
+ ret = bundle2.getunbundler(self.ui, stream)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 784, in getunbundler
+ magicstring = changegroup.readexactly(fp, 4)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 3170, in readexactly
+ % (len(s), n)
+ mercurial.error.Abort: stream ended unexpectedly (got 0 bytes, expected 4)
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/lfs/wrapper.py", line 432, in push
+ return orig(repo, remote, *args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 179, in callcommand
+ self.sendcommands()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 214, in sendcommands
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
Can pull from wider repo if change affects only paths outside remote's
narrow spec
@@ -222,4 +281,63 @@
remote: transaction abort! (lfs-on !)
remote: rollback completed (lfs-on !)
remote: abort: data/inside2/f@f59b4e0218355383d2789196f1092abcf2262b0c: no match found (lfs-on !)
- abort: stream ended unexpectedly (got 0 bytes, expected 4) (lfs-on !)
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: lfs, narrow
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 212, in sendcommands
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 503, in unbundle
+ ret = bundle2.getunbundler(self.ui, stream)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 784, in getunbundler
+ magicstring = changegroup.readexactly(fp, 4)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 3170, in readexactly
+ % (len(s), n)
+ mercurial.error.Abort: stream ended unexpectedly (got 0 bytes, expected 4)
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/lfs/wrapper.py", line 432, in push
+ return orig(repo, remote, *args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 179, in callcommand
+ self.sendcommands()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 214, in sendcommands
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
test-pending.t
--- /hgwork/src/tests/test-pending.t
+++ /hgwork/src/tests/test-pending.t.err
@@ -96,7 +96,82 @@
hook 29b62aeb769fdf78d8d9c5f28b017f76d7ef824b
transaction abort!
rollback completed
- abort: pretxnchangegroup hook failed
+ ** Unknown exception encountered with possibly-broken third-party extension "reject" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "reject" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: reject
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2032, in handlechangegroup
+ **extrakwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 497, in _processchangegroup
+ ret = cg.apply(op.repo, tr, source, url, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 509, in apply
+ **pycompat.strkwargs(hookargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 353, in runhooks
+ ui, repo, htype, hname, hookfn, args, throw
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 142, in pythonhook
+ raise error.HookAbort(_(b'%s hook failed') % hname)
+ mercurial.error.HookAbort: pretxnchangegroup hook failed
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
pull 0000000000000000000000000000000000000000
test external hook
@@ -111,7 +186,80 @@
hook 29b62aeb769fdf78d8d9c5f28b017f76d7ef824b
transaction abort!
rollback completed
- abort: pretxnchangegroup hook exited with status 1
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded:
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2032, in handlechangegroup
+ **extrakwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 497, in _processchangegroup
+ ret = cg.apply(op.repo, tr, source, url, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 509, in apply
+ **pycompat.strkwargs(hookargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 356, in runhooks
+ r = _exthook(ui, repo, htype, hname, cmd, args, throw)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 205, in _exthook
+ raise error.HookAbort(_(b'%s hook %s') % (name, desc))
+ mercurial.error.HookAbort: pretxnchangegroup hook exited with status 1
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
pull 0000000000000000000000000000000000000000
Test that pending on transaction without changegroup see the normal changegroup(
test-pull-network.t
--- /hgwork/src/tests/test-pull-network.t
+++ /hgwork/src/tests/test-pull-network.t.err
@@ -58,18 +58,195 @@
$ hg pull -r 'xxxxxxxxxxxxxxxxxxxy'
pulling from http://foo@localhost:$HGPORT/
- abort: unknown revision 'xxxxxxxxxxxxxxxxxxxy'
- [255]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded:
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 316, in _readbatchresponse
+ result = decode(remoteresult)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 353, in decode
+ self._abort(error.RepoError(data))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 529, in _abort
+ raise exception
+ mercurial.error.RepoError: b"unknown revision 'xxxxxxxxxxxxxxxxxxxy'"
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5433, in pull
+ fnodes.append(e.callcommand(b'lookup', {b'key': r}))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 126, in __exit__
+ self.close()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 279, in close
+ self._responsef.result()
+ File "/usr/lib/python3.7/concurrent/futures/_base.py", line 432, in result
+ return self.__get_result()
+ File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
+ raise self._exception
+ File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
+ result = self.fn(*self.args, **self.kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 318, in _readbatchresponse
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ hg pull -r 'xxxxxxxxxxxxxxxxxx y'
pulling from http://foo@localhost:$HGPORT/
- abort: unknown revision 'xxxxxxxxxxxxxxxxxx y'
- [255]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded:
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 316, in _readbatchresponse
+ result = decode(remoteresult)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 353, in decode
+ self._abort(error.RepoError(data))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 529, in _abort
+ raise exception
+ mercurial.error.RepoError: b"unknown revision 'xxxxxxxxxxxxxxxxxx y'"
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5433, in pull
+ fnodes.append(e.callcommand(b'lookup', {b'key': r}))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 126, in __exit__
+ self.close()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 279, in close
+ self._responsef.result()
+ File "/usr/lib/python3.7/concurrent/futures/_base.py", line 432, in result
+ return self.__get_result()
+ File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
+ raise self._exception
+ File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
+ result = self.fn(*self.args, **self.kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 318, in _readbatchresponse
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
Test pull of working copy revision
$ hg pull -r 'ffffffffffff'
pulling from http://foo@localhost:$HGPORT/
- abort: unknown revision 'ffffffffffff'
- [255]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded:
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 316, in _readbatchresponse
+ result = decode(remoteresult)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 353, in decode
+ self._abort(error.RepoError(data))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 529, in _abort
+ raise exception
+ mercurial.error.RepoError: b"unknown revision 'ffffffffffff'"
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5433, in pull
+ fnodes.append(e.callcommand(b'lookup', {b'key': r}))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 126, in __exit__
+ self.close()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 279, in close
+ self._responsef.result()
+ File "/usr/lib/python3.7/concurrent/futures/_base.py", line 432, in result
+ return self.__get_result()
+ File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
+ raise self._exception
+ File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
+ result = self.fn(*self.args, **self.kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 318, in _readbatchresponse
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
Test 'file:' uri handling:
test-pull-r.t
--- /hgwork/src/tests/test-pull-r.t
+++ /hgwork/src/tests/test-pull-r.t.err
@@ -111,8 +111,59 @@
Pull a missing revision:
$ hg pull -qr missing ../repo
- abort: unknown revision 'missing'
- [10]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded:
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 395, in lookup
+ return self._repo.lookup(key)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2182, in lookup
+ node = scmutil.revsymbol(self, key).node()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 658, in revsymbol
+ raise error.RepoLookupError(_(b"unknown revision '%s'") % symbol)
+ mercurial.error.RepoLookupError: b"unknown revision 'missing'"
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5433, in pull
+ fnodes.append(e.callcommand(b'lookup', {b'key': r}))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
Pull multiple revisions with update:
test-push-http.t#bundle2
--- /hgwork/src/tests/test-push-http.t
+++ /hgwork/src/tests/test-push-http.t#bundle2.err
@@ -39,9 +39,78 @@
$ req
pushing to http://localhost:$HGPORT/
searching for changes
- abort: HTTP Error 403: ssl required
- % serve errors
- [100]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded:
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 212, in sendcommands
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 502, in unbundle
+ stream = self._calltwowaystream(b'unbundle', bundle, heads=heads)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 520, in _calltwowaystream
+ return self._callstream(cmd, data=fp_, headers=headers, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 451, in _callstream
+ resp = sendrequest(self.ui, self._urlopener, req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 279, in sendrequest
+ res = opener.open(req)
+ File "/usr/lib/python3.7/urllib/request.py", line 531, in open
+ response = meth(req, response)
+ File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response
+ 'http', request, response, code, msg, hdrs)
+ File "/usr/lib/python3.7/urllib/request.py", line 569, in error
+ return self._call_chain(*args)
+ File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
+ result = func(*args)
+ File "/usr/lib/python3.7/urllib/request.py", line 649, in http_error_default
+ raise HTTPError(req.full_url, code, msg, hdrs, fp)
+ urllib.error.HTTPError: HTTP Error 403: ssl required
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 179, in callcommand
+ self.sendcommands()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 214, in sendcommands
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ % serve errors
+ [1]
expect authorization error
@@ -50,9 +119,85 @@
$ req
pushing to http://localhost:$HGPORT/
searching for changes
- abort: authorization failed
- % serve errors
- [255]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded:
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 279, in sendrequest
+ res = opener.open(req)
+ File "/usr/lib/python3.7/urllib/request.py", line 531, in open
+ response = meth(req, response)
+ File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response
+ 'http', request, response, code, msg, hdrs)
+ File "/usr/lib/python3.7/urllib/request.py", line 569, in error
+ return self._call_chain(*args)
+ File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
+ result = func(*args)
+ File "/usr/lib/python3.7/urllib/request.py", line 649, in http_error_default
+ raise HTTPError(req.full_url, code, msg, hdrs, fp)
+ urllib.error.HTTPError: HTTP Error 401: push not authorized
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 212, in sendcommands
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 502, in unbundle
+ stream = self._calltwowaystream(b'unbundle', bundle, heads=heads)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 520, in _calltwowaystream
+ return self._callstream(cmd, data=fp_, headers=headers, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 451, in _callstream
+ resp = sendrequest(self.ui, self._urlopener, req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 282, in sendrequest
+ raise error.Abort(_(b'authorization failed'))
+ mercurial.error.Abort: authorization failed
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 179, in callcommand
+ self.sendcommands()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 214, in sendcommands
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ % serve errors
+ [1]
expect authorization error: must have authorized user
@@ -60,9 +205,85 @@
$ req
pushing to http://localhost:$HGPORT/
searching for changes
- abort: authorization failed
- % serve errors
- [255]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded:
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 279, in sendrequest
+ res = opener.open(req)
+ File "/usr/lib/python3.7/urllib/request.py", line 531, in open
+ response = meth(req, response)
+ File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response
+ 'http', request, response, code, msg, hdrs)
+ File "/usr/lib/python3.7/urllib/request.py", line 569, in error
+ return self._call_chain(*args)
+ File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
+ result = func(*args)
+ File "/usr/lib/python3.7/urllib/request.py", line 649, in http_error_default
+ raise HTTPError(req.full_url, code, msg, hdrs, fp)
+ urllib.error.HTTPError: HTTP Error 401: push not authorized
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 212, in sendcommands
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 502, in unbundle
+ stream = self._calltwowaystream(b'unbundle', bundle, heads=heads)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 520, in _calltwowaystream
+ return self._callstream(cmd, data=fp_, headers=headers, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 451, in _callstream
+ resp = sendrequest(self.ui, self._urlopener, req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 282, in sendrequest
+ raise error.Abort(_(b'authorization failed'))
+ mercurial.error.Abort: authorization failed
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 179, in callcommand
+ self.sendcommands()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 214, in sendcommands
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ % serve errors
+ [1]
expect success
test-push.t
--- /hgwork/src/tests/test-push.t
+++ /hgwork/src/tests/test-push.t.err
@@ -208,8 +208,75 @@
adding file changes
transaction abort!
rollback completed
- abort: received spurious file revlog entry
- [255]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded:
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2032, in handlechangegroup
+ **extrakwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 497, in _processchangegroup
+ ret = cg.apply(op.repo, tr, source, url, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 451, in apply
+ addrevisioncb=on_filelog_rev,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 1964, in _addchangegroupfiles
+ raise error.Abort(_(b"received spurious file revlog entry"))
+ mercurial.error.Abort: received spurious file revlog entry
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ hg -q rollback
$ mv tmp1 .hg/store/data/beta.i
@@ -243,8 +310,93 @@
adding file changes
transaction abort!
rollback completed
- abort: missing file data for beta:dddc47b3ba30e54484720ce0f4f768a0f4b6efb9 - run hg verify
- [255]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded:
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/revlog.py", line 790, in rev
+ return self.index.rev(node)
+ mercurial.error.RevlogError: RevlogError
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 1973, in _addchangegroupfiles
+ fl.rev(n)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/filelog.py", line 69, in rev
+ return self._revlog.rev(node)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/revlog.py", line 800, in rev
+ raise error.LookupError(node, self.display_id, _(b'no node'))
+ mercurial.error.LookupError: data/beta@dddc47b3ba30e54484720ce0f4f768a0f4b6efb9: no node
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2032, in handlechangegroup
+ **extrakwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 497, in _processchangegroup
+ ret = cg.apply(op.repo, tr, source, url, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 451, in apply
+ addrevisioncb=on_filelog_rev,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 1977, in _addchangegroupfiles
+ % (f, hex(n))
+ mercurial.error.Abort: missing file data for beta:dddc47b3ba30e54484720ce0f4f768a0f4b6efb9 - run hg verify
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ cd ..
test-remotefilelog-bundles.t
--- /hgwork/src/tests/test-remotefilelog-bundles.t
+++ /hgwork/src/tests/test-remotefilelog-bundles.t.err
@@ -71,6 +71,106 @@
$ hg pull -r 66ee28d0328c .hg/strip-backup/66ee28d0328c-b6ee89e7-backup.hg
pulling from .hg/strip-backup/66ee28d0328c-b6ee89e7-backup.hg
searching for changes
- abort: cannot pull from full bundles
- (use `hg unbundle` instead)
- [255]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: rebase, remotefilelog, strip
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/extensions.py", line 532, in closure
+ return func(*(args + a), **kw)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/remotefilelog/__init__.py", line 1082, in localgetbundle
+ source, heads=heads, common=common, bundlecaps=bundlecaps, **kwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 381, in getbundle
+ return bundle2.getunbundler(self.ui, cb)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 784, in getunbundler
+ magicstring = changegroup.readexactly(fp, 4)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 3166, in readexactly
+ s = stream.read(n)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 2705, in read
+ for chunk in self.iter:
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 2676, in splitbig
+ for chunk in chunks:
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 714, in getchunks
+ self._getcorechunk(), self._compopts
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 736, in _getcorechunk
+ for chunk in part.getchunks(ui=self.ui):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 1197, in getchunks
+ pycompat.raisewithtb(exc, tb)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 294, in raisewithtb
+ raise exc.with_traceback(tb)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 1169, in getchunks
+ for chunk in self._payloadchunks():
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 1213, in _payloadchunks
+ chunk = buff.read(preferedchunksize)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 2705, in read
+ for chunk in self.iter:
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 2676, in splitbig
+ for chunk in chunks:
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 1210, in generate
+ sidedata_helpers=sidedata_helpers,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/remotefilelog/shallowbundle.py", line 85, in generatefiles
+ hint=b"use `hg unbundle` instead",
+ mercurial.error.Abort: cannot pull from full bundles
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/remotefilelog/__init__.py", line 579, in runcommand
+ return orig(lui, repo, *args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/rebase.py", line 2180, in pullrebase
+ ret = orig(ui, repo, *args, **opts)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/remotefilelog/__init__.py", line 1048, in pull
+ result = orig(ui, repo, *pats, **opts)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5463, in pull
+ confirm=opts.get(b'confirm'),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/remotefilelog/__init__.py", line 1090, in exchangepull
+ return orig(repo, remote, *args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1681, in pull
+ _fullpullbundle2(repo, pullop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1532, in _fullpullbundle2
+ _pullbundle2(pullop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1881, in _pullbundle2
+ bundle = e.callcommand(b'getbundle', args).result()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
test-share-safe.t
--- /hgwork/src/tests/test-share-safe.t
+++ /hgwork/src/tests/test-share-safe.t.err
@@ -175,8 +175,85 @@
error: pretxnchangegroup.reject_merge_commits hook failed: bcde3522682d rejected as merge on the same branch. Please consider rebase.
transaction abort!
rollback completed
- abort: bcde3522682d rejected as merge on the same branch. Please consider rebase.
- [255]
+ ** Unknown exception encountered with possibly-broken third-party extension "hooklib" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "hooklib" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: extdiff, hooklib, share
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2032, in handlechangegroup
+ **extrakwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 497, in _processchangegroup
+ ret = cg.apply(op.repo, tr, source, url, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 509, in apply
+ **pycompat.strkwargs(hookargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 353, in runhooks
+ ui, repo, htype, hname, hookfn, args, throw
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 116, in pythonhook
+ r = obj(ui=ui, repo=repo, hooktype=htype, **pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/hooklib/reject_merge_commits.py", line 43, in hook
+ % rev
+ mercurial.error.Abort: bcde3522682d rejected as merge on the same branch. Please consider rebase.
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ hg push ../shared1
pushing to ../shared1
@@ -187,8 +264,85 @@
error: pretxnchangegroup.reject_merge_commits hook failed: bcde3522682d rejected as merge on the same branch. Please consider rebase.
transaction abort!
rollback completed
- abort: bcde3522682d rejected as merge on the same branch. Please consider rebase.
- [255]
+ ** Unknown exception encountered with possibly-broken third-party extension "hooklib" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "hooklib" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: extdiff, hooklib, share
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2032, in handlechangegroup
+ **extrakwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 497, in _processchangegroup
+ ret = cg.apply(op.repo, tr, source, url, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 509, in apply
+ **pycompat.strkwargs(hookargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 353, in runhooks
+ ui, repo, htype, hname, hookfn, args, throw
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 116, in pythonhook
+ r = obj(ui=ui, repo=repo, hooktype=htype, **pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/hooklib/reject_merge_commits.py", line 43, in hook
+ % rev
+ mercurial.error.Abort: bcde3522682d rejected as merge on the same branch. Please consider rebase.
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
Test that if share source config is untrusted, we dont read it
@@ -314,8 +468,85 @@
error: pretxnchangegroup.reject_merge_commits hook failed: bcde3522682d rejected as merge on the same branch. Please consider rebase.
transaction abort!
rollback completed
- abort: bcde3522682d rejected as merge on the same branch. Please consider rebase.
- [255]
+ ** Unknown exception encountered with possibly-broken third-party extension "hooklib" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "hooklib" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: extdiff, hooklib, share
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2032, in handlechangegroup
+ **extrakwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 497, in _processchangegroup
+ ret = cg.apply(op.repo, tr, source, url, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 509, in apply
+ **pycompat.strkwargs(hookargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 353, in runhooks
+ ui, repo, htype, hname, hookfn, args, throw
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 116, in pythonhook
+ r = obj(ui=ui, repo=repo, hooktype=htype, **pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/hgext/hooklib/reject_merge_commits.py", line 43, in hook
+ % rev
+ mercurial.error.Abort: bcde3522682d rejected as merge on the same branch. Please consider rebase.
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ hg showconfig ui.curses -R ../shared1
false
test-single-head-obsolescence-named-branch-A2.t
--- /hgwork/src/tests/test-single-head-obsolescence-named-branch-A2.t
+++ /hgwork/src/tests/test-single-head-obsolescence-named-branch-A2.t.err
@@ -108,6 +108,66 @@
adding file changes
transaction abort!
rollback completed
- abort: rejecting multiple heads on branch "default"
- (2 heads: 8aaa48160adc 25c56d33e4c4)
- [255]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: strip
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2711, in unbundle
+ lockandtr[2].close()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/transaction.py", line 38, in _active
+ return func(self, *args, **kwds)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/transaction.py", line 555, in close
+ self._validatecallback[category](self)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2462, in validate
+ repo, tr2, desc, accountclosed, filtername
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 2186, in enforcesinglehead
+ raise error.Abort(msg, hint=hint)
+ mercurial.error.Abort: rejecting multiple heads on branch "default"
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
test-single-head-obsolescence-named-branch-A5.t
--- /hgwork/src/tests/test-single-head-obsolescence-named-branch-A5.t
+++ /hgwork/src/tests/test-single-head-obsolescence-named-branch-A5.t.err
@@ -103,6 +103,66 @@
no changes found
transaction abort!
rollback completed
- abort: rejecting multiple heads on branch "default"
- (2 heads: 8aaa48160adc 74ff5441d343)
- [255]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: strip
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2711, in unbundle
+ lockandtr[2].close()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/transaction.py", line 38, in _active
+ return func(self, *args, **kwds)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/transaction.py", line 555, in close
+ self._validatecallback[category](self)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2462, in validate
+ repo, tr2, desc, accountclosed, filtername
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 2186, in enforcesinglehead
+ raise error.Abort(msg, hint=hint)
+ mercurial.error.Abort: rejecting multiple heads on branch "default"
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
test-single-head.t
--- /hgwork/src/tests/test-single-head.t
+++ /hgwork/src/tests/test-single-head.t.err
@@ -76,9 +76,69 @@
adding file changes
transaction abort!
rollback completed
- abort: rejecting multiple heads on branch "default"
- (2 heads: 286d02a6e2a2 9bf953aa81f6)
- [255]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded:
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2711, in unbundle
+ lockandtr[2].close()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/transaction.py", line 38, in _active
+ return func(self, *args, **kwds)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/transaction.py", line 555, in close
+ self._validatecallback[category](self)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2462, in validate
+ repo, tr2, desc, accountclosed, filtername
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 2186, in enforcesinglehead
+ raise error.Abort(msg, hint=hint)
+ mercurial.error.Abort: rejecting multiple heads on branch "default"
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
remerge them
@@ -221,9 +281,69 @@
adding file changes
transaction abort!
rollback completed
- abort: rejecting multiple heads on branch "branch_A"
- (2 heads: 49003e504178 468bd81ccc5d)
- [255]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded:
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2711, in unbundle
+ lockandtr[2].close()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/transaction.py", line 38, in _active
+ return func(self, *args, **kwds)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/transaction.py", line 555, in close
+ self._validatecallback[category](self)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2462, in validate
+ repo, tr2, desc, accountclosed, filtername
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 2186, in enforcesinglehead
+ raise error.Abort(msg, hint=hint)
+ mercurial.error.Abort: rejecting multiple heads on branch "branch_A"
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
closing the head and pushing should succeed
@@ -259,9 +379,69 @@
adding file changes
transaction abort!
rollback completed
- abort: rejecting multiple heads on branch "branch_A"
- (3 heads: 49003e504178 5254bcccab93 42b9fe70a3c1)
- [255]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded:
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2711, in unbundle
+ lockandtr[2].close()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/transaction.py", line 38, in _active
+ return func(self, *args, **kwds)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/transaction.py", line 555, in close
+ self._validatecallback[category](self)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2462, in validate
+ repo, tr2, desc, accountclosed, filtername
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 2186, in enforcesinglehead
+ raise error.Abort(msg, hint=hint)
+ mercurial.error.Abort: rejecting multiple heads on branch "branch_A"
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
Test that config can be overriden as the boolean it is
test-ssh-batch.t
--- /hgwork/src/tests/test-ssh-batch.t
+++ /hgwork/src/tests/test-ssh-batch.t.err
@@ -11,5 +11,64 @@
$ hg pull -r b0 -r nosuchbookmark $(for i in $($TESTDIR/seq.py 1 20); do echo -r b$i; done) ssh://user@dummy/$(pwd)/../a
pulling from ssh://user@dummy/$TESTTMP/b/../a
- abort: unknown revision 'nosuchbookmark'
- [255]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded:
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 316, in _readbatchresponse
+ result = decode(remoteresult)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 353, in decode
+ self._abort(error.RepoError(data))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/sshpeer.py", line 442, in _abort
+ raise exception
+ mercurial.error.RepoError: b"unknown revision 'nosuchbookmark'"
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5433, in pull
+ fnodes.append(e.callcommand(b'lookup', {b'key': r}))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 126, in __exit__
+ self.close()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 279, in close
+ self._responsef.result()
+ File "/usr/lib/python3.7/concurrent/futures/_base.py", line 432, in result
+ return self.__get_result()
+ File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
+ raise self._exception
+ File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
+ result = self.fn(*self.args, **self.kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 318, in _readbatchresponse
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
test-static-http.t
--- /hgwork/src/tests/test-static-http.t
+++ /hgwork/src/tests/test-static-http.t.err
@@ -94,8 +94,61 @@
$ cd ..
$ hg clone -r doesnotexist static-http://localhost:$HGPORT/remote local0
- abort: unknown revision 'doesnotexist'
- [10]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded:
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 395, in lookup
+ return self._repo.lookup(key)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2182, in lookup
+ node = scmutil.revsymbol(self, key).node()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 658, in revsymbol
+ raise error.RepoLookupError(_(b"unknown revision '%s'") % symbol)
+ mercurial.error.RepoLookupError: b"unknown revision 'doesnotexist'"
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 1967, in clone
+ depth=opts.get(b'depth') or None,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hg.py", line 923, in clone
+ b'key': rev,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ hg clone -r 0 static-http://localhost:$HGPORT/remote local0
adding changesets
adding manifests
test-subrepo-relative-path.t
--- /hgwork/src/tests/test-subrepo-relative-path.t
+++ /hgwork/src/tests/test-subrepo-relative-path.t.err
@@ -84,8 +84,77 @@
no changes found
searching for changes
no changes found
- abort: HTTP Error 403: ssl required
- [100]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded:
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 212, in sendcommands
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 502, in unbundle
+ stream = self._calltwowaystream(b'unbundle', bundle, heads=heads)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 520, in _calltwowaystream
+ return self._callstream(cmd, data=fp_, headers=headers, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 451, in _callstream
+ resp = sendrequest(self.ui, self._urlopener, req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/httppeer.py", line 279, in sendrequest
+ res = opener.open(req)
+ File "/usr/lib/python3.7/urllib/request.py", line 531, in open
+ response = meth(req, response)
+ File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response
+ 'http', request, response, code, msg, hdrs)
+ File "/usr/lib/python3.7/urllib/request.py", line 569, in error
+ return self._call_chain(*args)
+ File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
+ result = func(*args)
+ File "/usr/lib/python3.7/urllib/request.py", line 649, in http_error_default
+ raise HTTPError(req.full_url, code, msg, hdrs, fp)
+ urllib.error.HTTPError: HTTP Error 403: ssl required
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 179, in callcommand
+ self.sendcommands()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 214, in sendcommands
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
Checking cloned repo ids
test-transaction-rollback-on-sigpipe.t
--- /hgwork/src/tests/test-transaction-rollback-on-sigpipe.t
+++ /hgwork/src/tests/test-transaction-rollback-on-sigpipe.t.err
@@ -37,8 +37,65 @@
(use quiet to avoid flacky output from the server)
$ hg push --quiet --remotecmd "$remotecmd"
- abort: stream ended unexpectedly (got 0 bytes, expected 4)
- [255]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded:
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 212, in sendcommands
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 503, in unbundle
+ ret = bundle2.getunbundler(self.ui, stream)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 784, in getunbundler
+ magicstring = changegroup.readexactly(fp, 4)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 3170, in readexactly
+ % (len(s), n)
+ mercurial.error.Abort: stream ended unexpectedly (got 0 bytes, expected 4)
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 179, in callcommand
+ self.sendcommands()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 214, in sendcommands
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ cat $SIGPIPE_REMOTE_DEBUG_FILE
SIGPIPE-HELPER: Starting
SIGPIPE-HELPER: Redirection in place
test-treediscovery-legacy.t
--- /hgwork/src/tests/test-treediscovery-legacy.t
+++ /hgwork/src/tests/test-treediscovery-legacy.t.err
@@ -122,8 +122,67 @@
$ cd empty1
$ hg incoming $remote --rev name1
comparing with http://localhost:$HGPORT/
- abort: cannot look up remote changes; remote repository does not support the 'changegroupsubset' capability
- [255]
+ ** Unknown exception encountered with possibly-broken third-party extension "notcapable-getbundle known changegroupsubset bundle2" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "notcapable-getbundle known changegroupsubset bundle2" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: notcapable-getbundle known changegroupsubset bundle2
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 212, in sendcommands
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 545, in changegroupsubset
+ self.requirecap(b'changegroupsubset', _(b'look up remote changes'))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/interfaces/repository.py", line 417, in requirecap
+ % (purpose, name)
+ mercurial.error.CapabilityError: b"cannot look up remote changes; remote repository does not support the 'changegroupsubset' capability"
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 4368, in incoming
+ return hg.incoming(ui, repo, source, opts)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hg.py", line 1348, in incoming
+ display, subreporecurse, ui, repo, source, opts, subpath=subpath
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hg.py", line 1303, in _incoming
+ ui, repo, other, revs, opts.get(b"bundle"), opts.get(b"force")
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundlerepo.py", line 662, in getremotechanges
+ b'source': b'incoming',
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 179, in callcommand
+ self.sendcommands()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 214, in sendcommands
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ hg incoming $remote
comparing with http://localhost:$HGPORT/
0 d57206cc072a: r0
@@ -311,8 +370,67 @@
$ hg init partial; cd partial
$ hg incoming $remote --rev name2
comparing with http://localhost:$HGPORT/
- abort: cannot look up remote changes; remote repository does not support the 'changegroupsubset' capability
- [255]
+ ** Unknown exception encountered with possibly-broken third-party extension "notcapable-getbundle known changegroupsubset bundle2" (version N/A)
+ ** which supports versions unknown of Mercurial.
+ ** Please disable "notcapable-getbundle known changegroupsubset bundle2" and try your action again.
+ ** If that fixes the bug please report it to the extension author.
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded: notcapable-getbundle known changegroupsubset bundle2
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 212, in sendcommands
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 545, in changegroupsubset
+ self.requirecap(b'changegroupsubset', _(b'look up remote changes'))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/interfaces/repository.py", line 417, in requirecap
+ % (purpose, name)
+ mercurial.error.CapabilityError: b"cannot look up remote changes; remote repository does not support the 'changegroupsubset' capability"
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 4368, in incoming
+ return hg.incoming(ui, repo, source, opts)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hg.py", line 1348, in incoming
+ display, subreporecurse, ui, repo, source, opts, subpath=subpath
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hg.py", line 1303, in _incoming
+ ui, repo, other, revs, opts.get(b"bundle"), opts.get(b"force")
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundlerepo.py", line 662, in getremotechanges
+ b'source': b'incoming',
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 179, in callcommand
+ self.sendcommands()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/wireprotov1peer.py", line 214, in sendcommands
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ hg pull $remote --rev name2
pulling from http://localhost:$HGPORT/
abort: partial pull cannot be done because other repository doesn't support changegroupsubset.
test-util.py
--- /hgwork/src/tests/test-util.py.out
+++ /hgwork/src/tests/test-util.py.err
@@ -0,0 +1,4 @@
+Traceback (most recent call last):
+ File "/hgwork/src/tests/test-util.py", line 53, in <module>
+ _start_default = (util.timedcmstats.start.default, 'factory')
+AttributeError: type object 'timedcmstats' has no attribute 'start'
test-win32text.t
--- /hgwork/src/tests/test-win32text.t
+++ /hgwork/src/tests/test-win32text.t.err
@@ -76,8 +76,81 @@
** = cleverdecode:
transaction abort!
rollback completed
- abort: pretxnchangegroup.crlf hook failed
- [40]
+ ** unknown exception encountered, please report by visiting
+ ** https://mercurial-scm.org/wiki/BugTracker
+ ** Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
+ ** Mercurial Distributed SCM (version 6.1+hg155.88395a6ce362)
+ ** Extensions loaded:
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 284, in callcommand
+ result = fn(**pycompat.strkwargs(args))
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 410, in unbundle
+ ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 2701, in unbundle
+ op = bundle2.processbundle(repo, cg, op=op)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 485, in processbundle
+ processparts(repo, op, unbundler)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 493, in processparts
+ _processpart(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 567, in _processpart
+ handler(op, part)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 2032, in handlechangegroup
+ **extrakwargs
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/bundle2.py", line 497, in _processchangegroup
+ ret = cg.apply(op.repo, tr, source, url, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/changegroup.py", line 509, in apply
+ **pycompat.strkwargs(hookargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 2038, in hook
+ return hook.hook(self.ui, self, name, throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 273, in hook
+ res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 353, in runhooks
+ ui, repo, htype, hname, hookfn, args, throw
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/hook.py", line 142, in pythonhook
+ raise error.HookAbort(_(b'%s hook failed') % hname)
+ mercurial.error.HookAbort: pretxnchangegroup.crlf hook failed
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/bin/hg", line 60, in <module>
+ dispatch.run()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 143, in run
+ status = dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 232, in dispatch
+ status = _rundispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 276, in _rundispatch
+ ret = _runcatch(req) or 0
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 452, in _runcatch
+ return _callcatch(ui, _runcatchfunc)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 462, in _callcatch
+ return scmutil.callcatch(ui, func)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/scmutil.py", line 152, in callcatch
+ return func()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 442, in _runcatchfunc
+ return _dispatch(req)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1256, in _dispatch
+ lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 900, in runcommand
+ ret = _runcommand(ui, options, cmd, d)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1267, in _runcommand
+ return cmdfunc()
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/dispatch.py", line 1253, in <lambda>
+ d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/util.py", line 1885, in check
+ return func(*args, **kwargs)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/commands.py", line 5792, in push
+ opargs=opargs,
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 474, in push
+ _pushbundle2(pushop)
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/exchange.py", line 1156, in _pushbundle2
+ b'url': pushop.remote.url(),
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/localrepo.py", line 286, in callcommand
+ pycompat.future_set_exception_info(f, sys.exc_info()[1:])
+ File "/hgwork/tmp/hgtests.ucjkj11q/install/lib/python/mercurial/pycompat.py", line 44, in future_set_exception_info
+ f.set_exception_info(exc_info[0])
+ AttributeError: 'Future' object has no attribute 'set_exception_info'
+ [1]
$ mv .hg/hgrc.bak .hg/hgrc
$ echo hello > f