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

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

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.

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.

Cheers,
Daniil

Suggest an answer

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

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,792 views 10 16
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