Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to authenticate an hg repo clone?

Thomas Sharpless February 27, 2020

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
Thomas Sharpless February 29, 2020

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
Daniil Penkin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 27, 2020

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
AUG Leaders

Atlassian Community Events