Michał Wolnicki
Michał Wolnicki

Reputation: 285

automatically fill password in batch

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://[email protected]/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://[email protected]/myproj -r myBranch -p mypass

but it failed :(

Any advice will be gratefull :)

Upvotes: 0

Views: 439

Answers (1)

Ignotus
Ignotus

Reputation: 301

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

Try https://myBranch:[email protected]/myproj

Upvotes: 2

Related Questions