How to clone a mercurial repository over an ssh connection initiated by fabric when http authorizati
- by Monika Sulik
I'm attempting to use fabric for the first time and I really like it so far, but at a certain point in my deployment script I want to clone a mercurial repository. When I get to that point I get an error:
err: abort: http authorization required
My repository requires http authorization and fabric doesn't prompt me for the user and password. I can get around this by changing my repository address from:
https://hostname/repository
to:
https://user:password@hostname/repository
But for various reasons I would prefer not to go this route.
Are there any other ways in which I could bypass this problem?