Mercurial clone repository hangs

Haven’t used hg, but for git, two solutions:

  1. add password in repo url, like: https://bbusername:password@bitbucket.org/username/my-repo

  2. setup ssh key, git module has ssh key option.

Now I am searching a solution to pass the password from terminal, like enter ssh password in terminal when use ansible -u user -k, but no idea how to solve it.

Thanks,
Linbo

在 2013年5月9日星期四UTC+8下午4时27分09秒,Niels Dequeker写道:

The git module contains some logic to auto-accept the hostkey.

Looks like you’ll need to manually add it before the checkout since this hasn’t been added there yet.

(Pull requests would be welcome - take a look at the git module for details).