Closed AlainODea closed 10 years ago
I'm getting this same issue with de0b2661032f.
C:\Code\Neo4jClient>hg pus github
pushing to git+ssh://git@github.com/tathamoddie/Neo4jClient.git
exporting hg objects to git
creating and sending data
["git-receive-pack 'tathamoddie/Neo4jClient.git'"]
error: index-pack died of signal 11
Updated to 413:b8eeabb61c7b and now getting a slightly different output:
C:\Code\Neo4jClient>hg pus github
pushing to git+ssh://git@github.com/tathamoddie/Neo4jClient.git
creating and sending data
["git-receive-pack 'tathamoddie/Neo4jClient.git'"]
error: index-pack died of signal 11
abort: Invalid argument
Only affects this particular repo.
Same issue here. For the nanoc repository, I am trying to push the release-3.1.x branch, but am getting this:
pushing to git+ssh://git@github.com/ddfreyne/nanoc.git importing Hg objects into Git creating and sending data ["git-receive-pack '/ddfreyne/nanoc.git'"] error: index-pack died of signal 11
I'm having the same problem, trying to push a good amount of commits to a GitHub repository (mirroring an existing repo).
Using the latest hg-git from github fixed the issue for me.
Using https://github.com/offbytwo/git-hg fixed the issue for me. It's an alternative implementation and runs much faster than hg-git. It's based on git-fast-import.
I didn't mean to close this. This bug isn't fixed. Sorry.
Having the same issue with the current master branch version. Where can i donate beer so this will be fixed soon? :D
I have the same error with latest trunk, dulwich 0.7.1 and mercurial 1.9 on OSX 10.6.8. hg push worked fine for a number of changesets, then suddenly started failing with:
$ hg push github
pushing to git+ssh://git@github.com/testinfected/cuckoo.git
creating and sending data
["git-receive-pack '/testinfected/cuckoo.git'"]
error: index-pack died of signal 11
abort: git remote error: unpack index-pack abnormal exit
When I clone the same repo with git (1.7.1), I can push without problem.
Also have this issue, dulwich 0.7.1, mercurial 1.6.3 - pushing was fine and suddenly breaks. Error dump below:
["git-receive-pack '/rickchristie/Carrot.git'"]
error: index-pack died of signal 11
** unknown exception encountered, details follow
** report bug details to http://mercurial.selenic.com/bts/
** or mercurial@selenic.com
** Python 2.6.1 (r261:67515, Jun 24 2010, 21:47:49) [GCC 4.2.1 (Apple Inc. build 5646)]
** Mercurial Distributed SCM (version 1.6.3+20100826)
** Extensions loaded: graphlog, extdiff, bookmarks, hggit
Traceback (most recent call last):
File "/usr/local/bin/hg", line 27, in <module>
mercurial.dispatch.run()
File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 16, in run
sys.exit(dispatch(sys.argv[1:]))
File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 34, in dispatch
return _runcatch(u, args)
File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 54, in _runcatch
return _dispatch(ui, args)
File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 494, in _dispatch
cmdpats, cmdoptions)
File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 355, in runcommand
ret = _runcommand(ui, options, cmd, d)
File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 545, in _runcommand
return checkargs()
File "/Library/Python/2.6/site-packages/mercurial/dispatch.py", line 499, in checkargs
return cmdfunc()
same issue. dulwich 0.7.1, hg 1.9. pushing worked fine a couple weeks ago. various forms of re-cloning and updating have not helped
I have a sneaking suspicion that this happened because of case insensitive file system and renaming something to the same name just with different case.
No, it's no case sensitivity issue. I've got the same problem between a Linux box and Github.
Latest dulwich trunk seems to fix the issue for me so far. Can somebody else confirm that?
Nope. Updated to dulwich 0.8.0 (with hg 1.9), still getting error:
error: index-pack died of signal 11
abort: git remote error: unpack index-pack abnormal exit
same here. updated to dulwich trunk, still get signal 11. tried both normal installation and with setup.py --pure, which disables its C extensions.
it's worth noting that i'm able to push into local git repos, but not to github.
Hum. I was able to push the same content to a new github repo, but it still fails on the original repo
Updating to the latest dulwich git trunk fixed the issue for me..
dito for me: latest dulwich and life is easy again.
Same here
working fine here as well
New dulwich (0.8.3) fixes the problem for me.
python-dulwich 0.9.7 latest hg-git from Github
Can't push to git repo. I get the error: abort: git remote error: unpack index-pack abnormal exit
Experiencing same error as @bngsudheer .
I figured out my problem. I had a '.git' directory in my Mercurial repository. Mercurial itself has no problem having a directory by name '.git'. However, github.com will not accept pushes if the repository contains a '.git' directory. hg-git has nothing to do with it, I guess.
My solution was to remove the offending directory from the Mercurial repository and its history.
@bngsudheer Indeed, I also have .git directory in my repo history. Do you have any guidelines how to safely remove .git from (mercurial) repository history?
Zogg, sorry, no. I wiped all the history(started a new repository).
https://www.jitbit.com/alexblog/232-removing-files-from-mercurial-history/ is how to safely remove files from the history. Thanks for a tip, @bngsudheer , that solved the problem.
i.don't know
When I try to push to GitHub I get an error message
error: index-pack died of signal 11
. Here is a transcript:This happens on both my laptop and the server from which I attempting to synchronize the Mercurial and Git repositories.