schacon / hg-git

mercurial to git bridge, pushed to directly from the hg-git plugin in Hg
GNU General Public License v2.0
620 stars 71 forks source link

Can't push to non-bare repo #95

Closed dabrahams closed 10 years ago

dabrahams commented 14 years ago

I think that is the cause of this issue, which should have been reported here. If I change git init to git init --bare it all works.

durin42 commented 14 years ago

No, this is a dulwich issue. I've got a fix pending as I described there.

rctay commented 14 years ago

I believe this is due to the recent change in the git config receive.denyCurrentBranch to default to refuse.

durin42 commented 14 years ago

That's part of the story. There's also a bug in dulwich causing it to misinterpret the result here. Patches forthcoming...

durin42 commented 14 years ago

Patches are in dulwich, once they do a release I'll spend a little time on hg-git to make it catch the salient exceptions.

dabrahams commented 14 years ago

Thanks; you rock. Whence has dulwich moved their tracker?!