Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/xml/14.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
Deployment 使用mercurial回购的PM2正在部署中_Deployment_Mercurial_Pm2 - Fatal编程技术网

Deployment 使用mercurial回购的PM2正在部署中

Deployment 使用mercurial回购的PM2正在部署中,deployment,mercurial,pm2,Deployment,Mercurial,Pm2,我在bitbucket.org中有一个mercurial存储库,我想在pm2部署中使用它。 我的部署部分是: deploy : { production : { user : "dimon", host : "app.mysite.com", ref : "origin/master", repo : "hg@bitbucket.org:mylogin/myrepo", path : "/var/www/test_prod",

我在bitbucket.org中有一个mercurial存储库,我想在pm2部署中使用它。 我的部署部分是:

deploy : {
    production : {
      user : "dimon",
      host : "app.mysite.com",
      ref  : "origin/master",
      repo : "hg@bitbucket.org:mylogin/myrepo",
      path : "/var/www/test_prod",
      "post-deploy" : "npm install && pm2 startOrRestart ecosystem.json --env production"
    }
  }
运行deploy时,我收到一个错误:

  ○ cloning hg@bitbucket.org:mylogin/myrepo
Cloning into '/var/www/test_prod/source'...
conq: not a git repository.
fatal: Could not read from remote repository.
我也试过”mercurial@bitbucket.org:mylogin/myrepo“字符串,未成功。
如何正确设置mercurial存储库?

根据维护人员的说法,pm2部署现在只适用于git。