[merge] AttributeError: 'module' object has no attribute 'Abort' .
merge fails on
Something went wrong during merge: Could not commit the merge: pushing to git+ssh://git@localhost:group/project.git error: pretxnclose hook raised an exception: 'module' object has no attribute 'Abort' transaction abort! rollback completed ** Unknown exception encountered with possibly-broken third-party extension hggit ** which supports versions 4.7 of Mercurial. ** Please disable hggit and try your action again. ** If that fixes the bug please report it to https://bitbucket.org/durin42/hg-git/issues ** Python 2.7.12 (default, Nov 12 2018, 14:36:49) [GCC 5.4.0 20160609] ** Mercurial Distributed SCM (version 4.9.1) ** Extensions loaded: hggit, evolve, topic Traceback (most recent call last):
File "/opt/gitlab/bin/hg", line 43, in <module> dispatch.run()
File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line 99, in run status = dispatch(req)
File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line 225, in dispatch ret = _runcatch(req) or 0
File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line 376, in _runcatch return _callcatch(ui, _runcatchfunc)
File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line 384, in _callcatch return scmutil.callcatch(ui, func)
File "/usr/local/lib/python2.7/dist-packages/mercurial/scmutil.py", line 165, in callcatch return func()
File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line 367, in _runcatchfunc return _dispatch(req)
File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line 1021, in _dispatch cmdpats, cmdoptions)
File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line 756, in runcommand ret = _runcommand(ui, options, cmd, d)
File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line 1030, in _runcommand return cmdfunc()
File "/usr/local/lib/python2.7/dist-packages/mercurial/dispatch.py", line 1018, in <lambda> d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
File "/usr/local/lib/python2.7/dist-packages/mercurial/util.py", line 1670, in check return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/mercurial/util.py", line 1670, in check return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/hgext3rd/topic/__init__.py", line 1146, in commitwrap return orig(ui, repo, *args, **opts)
File "/usr/local/lib/python2.7/dist-packages/mercurial/util.py", line 1670, in check return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/mercurial/util.py", line 1670, in check return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/hgext3rd/evolve/__init__.py", line 1225, in commitwrapper result = orig(ui, repo, *arg, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/mercurial/util.py", line 1670, in check return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/mercurial/commands.py", line 1644, in commit return _docommit(ui, repo, *pats, **opts)
File "/usr/local/lib/python2.7/dist-packages/mercurial/commands.py", line 1719, in _docommit node = cmdutil.commit(ui, repo, commitfunc, pats, opts)
File "/usr/local/lib/python2.7/dist-packages/mercurial/cmdutil.py", line 2419, in commit return commitfunc(ui, repo, message, matcher, opts)
File "/usr/local/lib/python2.7/dist-packages/mercurial/commands.py", line 1717, in commitfunc extra=extra)
File "/usr/local/lib/python2.7/dist-packages/hgext3rd/topic/__init__.py", line 380, in commit return super(topicrepo, self).commit(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/mercurial/localrepo.py", line 158, in wrapper return orig(repo.unfiltered(), *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/mercurial/localrepo.py", line 2487, in commit tr.close()
File "/usr/local/lib/python2.7/dist-packages/mercurial/transaction.py", line 47, in _active return func(self, *args, **kwds)
File "/usr/local/lib/python2.7/dist-packages/mercurial/transaction.py", line 465, in close self._validator(self) # will raise exception if needed
File "/usr/local/lib/python2.7/dist-packages/mercurial/localrepo.py", line 1826, in validate txnname=desc, **pycompat.strkwargs(tr.hookargs))
File "/usr/local/lib/python2.7/dist-packages/mercurial/localrepo.py", line 1407, in hook return hook.hook(self.ui, self, name, throw, **args)
File "/usr/local/lib/python2.7/dist-packages/mercurial/hook.py", line 218, in hook res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
File "/usr/local/lib/python2.7/dist-packages/mercurial/hook.py", line 270, in runhooks throw)
File "/usr/local/lib/python2.7/dist-packages/mercurial/hook.py", line 98, in pythonhook r = obj(ui=ui, repo=repo, hooktype=htype, **pycompat.strkwargs(args))
File "/usr/local/lib/python2.7/dist-packages/heptapod_sync_hook.py", line 10, in mirror push_result = push(ui, repo, dest=dest, force=True)
File "/usr/local/lib/python2.7/dist-packages/mercurial/util.py", line 1670, in check return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/hgext3rd/topic/__init__.py", line 1160, in pushoutgoingwrap return orig(ui, repo, *args, **opts)
File "/usr/local/lib/python2.7/dist-packages/mercurial/util.py", line 1670, in check return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/mercurial/util.py", line 1670, in check return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/hgext3rd/topic/flow.py", line 67, in wrappush return orig(repo, remote, *args, **newargs)
File "/usr/local/lib/python2.7/dist-packages/mercurial/util.py", line 1670, in check return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/mercurial/commands.py", line 4634, in push opargs=opargs)
File "/usr/local/lib/python2.7/dist-packages/hgext3rd/evolve/__init__.py", line 787, in push return orig(repo, *args, **opts)
File "/opt/gitlab/embedded/service/hg-git/hggit/util.py", line 60, in inner return f(*args, **kwargs)
File "/opt/gitlab/embedded/service/hg-git/hggit/__init__.py", line 413, in exchangepush pushop.cgresult = repo.githandler.push(remote.path, revs, force)
File "/opt/gitlab/embedded/service/hg-git/hggit/git_handler.py", line 404, in push self.export_commits()
File "/opt/gitlab/embedded/service/hg-git/hggit/git_handler.py", line 371, in export_commits self.update_references()
File "/opt/gitlab/embedded/service/hg-git/hggit/git_handler.py", line 1359, in update_references exportable = self.get_exportable()
File "/opt/gitlab/embedded/service/hg-git/hggit/git_handler.py", line 1431, in get_exportable raise hgutil.Abort(msg)
AttributeError: 'module' object has no attribute 'Abort' . Refreshing in 9 seconds to show the updated status...
sorry for the indent which is approximate.
At first glance, can't see this error in sentry (yet).