Push fresh commits to github enterprise results in "unknown exception"
Created originally on Bitbucket by Joostschriek (joost schriek)
I feel like i have a fairly common setup;
- A mercurial repo with a bunch of bookmarks on branches
- A git repo that we sync to
I've been pulling changes from hg (hg pull, hg update), and then pushing them to github (hg push github) for a little while now, and everything was dandy up until this morning. The following error is now given.
I'm running windows 10, the github server is on win2016, and I'm not sure about the mercurial server.
** Unknown exception encountered with possibly-broken third-party extension hggit
** which supports versions 4.5 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.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 4.6.1)
** Extensions loaded: largefiles, hggit
Traceback (most recent call last):
File "hg", line 61, in <module>
File "mercurial\dispatch.pyo", line 90, in run
File "mercurial\dispatch.pyo", line 210, in dispatch
File "mercurial\dispatch.pyo", line 351, in _runcatch
File "mercurial\dispatch.pyo", line 359, in _callcatch
File "mercurial\scmutil.pyo", line 160, in callcatch
File "mercurial\dispatch.pyo", line 341, in _runcatchfunc
File "mercurial\dispatch.pyo", line 971, in _dispatch
File "mercurial\dispatch.pyo", line 727, in runcommand
File "mercurial\dispatch.pyo", line 979, in _runcommand
File "mercurial\dispatch.pyo", line 968, in <lambda>
File "mercurial\util.pyo", line 1553, in check
File "mercurial\util.pyo", line 1553, in check
File "hgext\largefiles\overrides.pyo", line 831, in overridepush
File "mercurial\util.pyo", line 1553, in check
File "mercurial\commands.pyo", line 4216, in push
File "hggit\util.pyo", line 60, in inner
File "hggit\__init__.pyo", line 421, in exchangepush
File "hggit\git_handler.pyo", line 412, in push
File "hggit\git_handler.pyo", line 377, in export_commits
File "hggit\git_handler.pyo", line 529, in export_git_objects
File "hggit\hg2git.pyo", line 127, in __init__
File "hggit\hg2git.pyo", line 150, in _init_dirs
File "dulwich\object_store.pyo", line 119, in __getitem__
File "dulwich\object_store.pyo", line 461, in get_raw
KeyError: '096ae0e14d3c641c36c3686d5172e62955f9973a'