1. Bitbucket
  2. Public Issue Tracker
  3. master
  4. Issues


Issue #3863 resolved

pubkey auth doesn't work for hg clone

created an issue


I tried to clone

hg clone ssh://hg@bitbucket.org/laczoka/grcrawler running ssh hg@bitbucket.org "hg -R laczoka/grcrawler serve --stdio" destination directory: grcrawler requesting all changes adding changesets adding manifests adding file changes

this is where it stopped and I had to hit ctrl-c. http:// works, but password-only which is tedious

confirmed by alexstolz too.


Comments (2)

  1. Alex Stolz

    indeed, confirm, using the pubkey (SSH clone) option cloning a project gets stuck during "adding file changes". however, using username/password (HTTPS clone), it still seems to work.

  2. Brian Nguyen


    The problem is due to the file grcrawler.log, Mercurial is trying to compress the file before it is sent which is taking an extremely long time.

    To fix this, I recommend you to replicate the repository and remove the log file from the repository. You can do this, while keeping all the repository history using the ConvertExtension (http://mercurial.selenic.com/wiki/ConvertExtension).

    Alternatively, you can clone the repository using the --uncompressed flag.

    hg clone --uncompressed ssh://hg@bitbucket.org/laczoka/grcrawler

    If you have any further questions, please contact us at support@bitbucket.org.

    Cheers, Brian

  3. Log in to comment