Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements


  • Give kudos
  • My kudos


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to authenticate an hg repo clone?

I have an hg repo on Bitbucket that I need to convert to git.  The first step is to clone it to a local machine, but when I run the hg clone command I get the message 

"http authorization required for <url>"

Tortoise hg  pops a box requesting password, but my current bitbucket pwd does not work.

How to proceed?


2 answers

0 votes

Hello @Thomas Sharpless,

Welcome to the Community.

Are you using two-factor authentication or single sign-on by any chance? Your regular credentials won't work for pulling/pushing in that case.

You have two options:

  • set up app password with repository read scope and use it as your password
  • set up SSH key and use it for pull/push operations

Hope this helps. Let me know if you have any questions.


No real problem.  I just made a new git repo from local data.  The old hg repo was made before I started using my current Atlassian login.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,903 views 0 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you