Mercurial on Windows

Coming from Git background, I started to use another famous distributed version control system mercurial for my job.

TortoiseHg is a good GUI tool for Mercurial though. Sometimes I prefer to use CLI. Not like Git Bash. To use hg with command line interface comfortably, I did following stuff.

1. Install posh-hg

2. Include ssh, ssh-agent, ssh-keygen etc in Path

$env:path += ";" + (Get-Item "Env:ProgramFiles(x86)").Value + "\Git\bin"

That what I did for using hg in CLI.

3. Wanna let TortoiseHg to use ssh
add following information to mercurial.ini

ssh = "C:\Program Files (x86)\Git\bin\ssh.exe"

then go to your project setting, change default as

default = ssh://



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s