Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/mercurial/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Intellij idea 使用hg4idea插件将bitbucket.org上的Mercurial私有存储库克隆到InetlliJ IDEA?_Intellij Idea_Mercurial - Fatal编程技术网

Intellij idea 使用hg4idea插件将bitbucket.org上的Mercurial私有存储库克隆到InetlliJ IDEA?

Intellij idea 使用hg4idea插件将bitbucket.org上的Mercurial私有存储库克隆到InetlliJ IDEA?,intellij-idea,mercurial,Intellij Idea,Mercurial,我在bitbucket.org上创建了私有存储库。我想用IntelliJ IDEA的 我选择“从版本控制中签出”,并在消息框中显示字段Mercurial Repository URL和Test Repository按钮。 我应该在Mercurial存储库URL中输入什么 我试过了 http://bitbucket.org/my_user_name/my_repo_name https://和https://my_user_name@org/my\u user\u name/my\u repo\

我在bitbucket.org上创建了私有存储库。我想用IntelliJ IDEA的

我选择“从版本控制中签出”,并在消息框中显示字段
Mercurial Repository URL
Test Repository
按钮。
我应该在Mercurial存储库URL中输入什么

我试过了

  • http://bitbucket.org/my_user_name/my_repo_name
  • https://
    https://my_user_name@org/my\u user\u name/my\u repo\u name
什么都不管用。
当我单击测试存储库时,我总是收到消息“存储库测试失败”。
我认为这是因为没有用户名和密码字段,但我不能以某种方式输入此数据吗?

由于只有该版本支持身份验证,您可以尝试:

(也就是说,如果您的Bitbucket回购是私人回购,您在问题中提到过:

myuser
”和“
mypassword
”将是您的Bitbucket帐户的登录名和密码,用于http url)

我可以通过命令行提示符,使用Bitbucket在我的概览页面上给我的命令克隆存储库,从而实现这一点。在IDEA中对项目激活版本控制后,IDEA允许我成功地从存储库中推拉

@amorfis:您可以尝试通过https
https
(无需用户或密码,因为它只需要找到您的公钥)吗?(前提是您在
~/.ssh/id_ras.pub
中有公钥)@amorfis:没关系:“不支持基于密钥的ssh身份验证”
hg clone http://myuser:mypassword@bitbucket.org/MY_USER/MY_REPO