Skip to content
This repository has been archived by the owner on Jul 24, 2020. It is now read-only.

fail to clone using ssh from GH #280

Closed
powerman opened this issue Jun 15, 2014 · 3 comments
Closed

fail to clone using ssh from GH #280

powerman opened this issue Jun 15, 2014 · 3 comments

Comments

@powerman
Copy link

I've created new repo and tried to

hg -v clone git+ssh://git@github.com/powerman/myshows.ru-user.js.git

but it hangs after printing this (I had to Ctrl-C it):

destination directory: myshows.ru-user.js
["git-upload-pack '/powerman/myshows.ru-user.js.git'"]
Counting objects: 3, done.
Total 3 (delta 0), reused 0 (delta 0)

At same time this command works just fine:

hg -v clone git://github.com/powerman/myshows.ru-user.js.git

but then I need to edit .hg/hgrc to replace default path to be able to push (btw, hg push is hangs too, but before that it complete it job, so after Ctrl-C and running hg push again it report "no changes found").

I've tried hg-git 0.5.0 and 0.6.0, with dulwich-0.9.4.

P.S. There is no 0.6.0 tag in your repo on github, probably because of another bug in hg-git?

@durin42
Copy link
Collaborator

durin42 commented Jun 15, 2014

Probably a bug the way I push to GH. GH is only a mirror, not at all
authoritative.

Try with dulwich 0.9.7 please. That should fix the bug.
On Jun 15, 2014 5:53 PM, "Alex Efros" notifications@github.com wrote:

I've created new repo and tried to

hg -v clone git+ssh://git@github.com/powerman/myshows.ru-user.js.git

but it hangs after printing this (I had to Ctrl-C it):

destination directory: myshows.ru-user.js
["git-upload-pack '/powerman/myshows.ru-user.js.git'"]
Counting objects: 3, done.
Total 3 (delta 0), reused 0 (delta 0)

At same time this command works just fine:

hg -v clone git://github.com/powerman/myshows.ru-user.js.git

but then I need to edit .hg/hgrc to replace default path to be able to
push (btw, hg push is hangs too, but before that it complete it job, so
after Ctrl-C and running hg push again it report "no changes found").

I've tried hg-git 0.5.0 and 0.6.0, with dulwich-0.9.4.

P.S. There is no 0.6.0 tag in your repo on github, probably because of
another bug in hg-git?


Reply to this email directly or view it on GitHub
#280.

@powerman
Copy link
Author

Yes, now everything works ok. Thanks!

@tobyink
Copy link

tobyink commented Jul 15, 2014

FYI, if upgrading things is not an option, locally patching dulwich/client.py as per this patch should fix the issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants