0

I would like to log in automatically to tortoise hg but I don't know how to achieve it:(

I have below command:

@echo off
hg clone https://name@bitbucket.org/myproj -r myBranch
hg pull

when I execute this script it ask me to type the password but i would like to fill in automatically :( i tried to use:

hg clone https://name@bitbucket.org/myproj -r myBranch -p mypass

but it failed :(

Any advice will be gratefull :)

rojo
  • 24,000
  • 5
  • 55
  • 101
Michał Wolnicki
  • 275
  • 4
  • 13

1 Answers1

2

I think the answer is in Store password in TortoiseHg on Stackoverflow

Try https://myBranch:mypass@bitbucket.org/myproj

Community
  • 1
  • 1
Ignotus
  • 301
  • 1
  • 10
  • lol....that was the gist :) too be honest with you I saw this page and this post erlier but I didn't take any resonable conclusion...After when you put a link to it again it enlighten me :) THANKS – Michał Wolnicki Jun 05 '15 at 09:41