AttributeError: 'DiskObjectStore' object has no attribute 'generate_pack_data'
Created originally on Bitbucket by tsln1998 (Tsln)
Push to github (ssh)
E:\docker>hg push https://github.com/tsln1998/docker.git
pushing to https://github.com/tsln1998/docker.git
http authorization required for https://github.com/tsln1998/docker.git/info/refs
realm: GitHub
user: tsln1998@gmail.com
password:
searching for changes
** 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.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:30:26) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 4.7.2)
** Extensions loaded: hggit
Traceback (most recent call last):
File "hg", line 41, in
File "mercurial\dispatch.pyc", line 90, in run
File "mercurial\dispatch.pyc", line 213, in dispatch
File "mercurial\dispatch.pyc", line 354, in _runcatch
File "mercurial\dispatch.pyc", line 362, in _callcatch
File "mercurial\scmutil.pyc", line 161, in callcatch
File "mercurial\dispatch.pyc", line 344, in _runcatchfunc
File "mercurial\dispatch.pyc", line 984, in _dispatch
File "mercurial\dispatch.pyc", line 730, in runcommand
File "mercurial\dispatch.pyc", line 992, in _runcommand
File "mercurial\dispatch.pyc", line 981, in
File "mercurial\util.pyc", line 1528, in check
File "mercurial\commands.pyc", line 4369, in push
File "D:/Python3/Lib/site-packages\hggit\util.py", line 60, in inner
return f(*args, **kwargs)
File "D:/Python3/Lib/site-packages\hggit__init__.py", line 426, in exchangepush
pushop.cgresult = repo.githandler.push(remote.path, revs, force)
File "D:/Python3/Lib/site-packages\hggit\git_handler.py", line 413, in push
old_refs, new_refs = self.upload_pack(remote, revs, force)
File "D:/Python3/Lib/site-packages\hggit\git_handler.py", line 1127, in upload_pack
progress=callback)
File "dulwich\client.pyc", line 1362, in send_pack
File "D:/Python3/Lib/site-packages\hggit\git_handler.py", line 1106, in genpack
return self.git.object_store.generate_pack_data(
AttributeError: 'DiskObjectStore' object has no attribute 'generate_pack_data'
Push to github (ssh)
E:\docker>hg push git+ssh://git@github.com/tsln1998/docker.git
pushing to git+ssh://git@github.com/tsln1998/docker.git
Warning: Permanently added the RSA host key for IP address '192.30.253.113' to the list of known hosts.
searching for changes
** 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.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:30:26) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 4.7.2)
** Extensions loaded: hggit
Traceback (most recent call last):
File "hg", line 41, in
File "mercurial\dispatch.pyc", line 90, in run
File "mercurial\dispatch.pyc", line 213, in dispatch
File "mercurial\dispatch.pyc", line 354, in _runcatch
File "mercurial\dispatch.pyc", line 362, in _callcatch
File "mercurial\scmutil.pyc", line 161, in callcatch
File "mercurial\dispatch.pyc", line 344, in _runcatchfunc
File "mercurial\dispatch.pyc", line 984, in _dispatch
File "mercurial\dispatch.pyc", line 730, in runcommand
File "mercurial\dispatch.pyc", line 992, in _runcommand
File "mercurial\dispatch.pyc", line 981, in
File "mercurial\util.pyc", line 1528, in check
File "mercurial\commands.pyc", line 4369, in push
File "D:/Python3/Lib/site-packages\hggit\util.py", line 60, in inner
return f(*args, **kwargs)
File "D:/Python3/Lib/site-packages\hggit__init__.py", line 426, in exchangepush
pushop.cgresult = repo.githandler.push(remote.path, revs, force)
File "D:/Python3/Lib/site-packages\hggit\git_handler.py", line 413, in push
old_refs, new_refs = self.upload_pack(remote, revs, force)
File "D:/Python3/Lib/site-packages\hggit\git_handler.py", line 1127, in upload_pack
progress=callback)
File "dulwich\client.pyc", line 701, in send_pack
File "D:/Python3/Lib/site-packages\hggit\git_handler.py", line 1106, in genpack
return self.git.object_store.generate_pack_data(
AttributeError: 'DiskObjectStore' object has no attribute 'generate_pack_data'