push/incoming/outgoing throws error `File Exists`
Created originally on Bitbucket by evgeniysharapov (Evgeniy Sharapov)
I work with the Git repository using HgGit. All of a sudden I start getting weird error on push
, incoming
or outgoing
commands
#!shell
C:\Users\esharapov\Repos\Harmony-Poc.Hg>hg --traceback in
comparing with git+https://stash.infusion.com/scm/en/harmony-poc.git
Traceback (most recent call last):
File "mercurial\dispatch.pyo", line 187, in _runcatch
File "mercurial\dispatch.pyo", line 920, in _dispatch
File "mercurial\dispatch.pyo", line 679, in runcommand
File "mercurial\extensions.pyo", line 183, in closure
File "hgext\color.pyo", line 525, in colorcmd
File "mercurial\extensions.pyo", line 183, in closure
File "hgext\pager.pyo", line 139, in pagecmd
File "mercurial\dispatch.pyo", line 1051, in _runcommand
File "mercurial\dispatch.pyo", line 1011, in checkargs
File "mercurial\dispatch.pyo", line 917, in <lambda>
File "mercurial\util.pyo", line 801, in check
File "mercurial\extensions.pyo", line 183, in closure
File "mercurial\util.pyo", line 801, in check
File "hgext\mq.pyo", line 3525, in mqcommand
File "mercurial\util.pyo", line 801, in check
File "mercurial\commands.pyo", line 4598, in incoming
File "mercurial\hg.pyo", line 718, in incoming
File "mercurial\hg.pyo", line 681, in _incoming
File "mercurial\extensions.pyo", line 183, in closure
File "C:/Users/esharapov/.hg-ext/hg-git\hggit\__init__.py", line 293, in getremotechanges
File "C:/Users/esharapov/.hg-ext/hg-git\hggit\git_handler.py", line 391, in getremotechanges
File "C:/Users/esharapov/.hg-ext/hg-git\hggit\git_handler.py", line 309, in export_commits
File "C:/Users/esharapov/.hg-ext/hg-git\hggit\git_handler.py", line 1223, in update_references
File "dulwich\refs.pyo", line 263, in __setitem__
File "dulwich\refs.pyo", line 575, in set_if_equals
File "dulwich\file.pyo", line 85, in GitFile
File "dulwich\file.pyo", line 110, in __init__
OSError: [Errno 17] File exists
abort: File exists
Error is the same for all of those commands. pull
works just fine.
When I work with the same repository from Git nothing changed.
What could be the issue and how could it be fixed ?