将Mercurial主分支部署到Heroku
几个月来,我一直在使用HgGit将我的HgRepo部署到Heroku,但最近它停止了工作将Mercurial主分支部署到Heroku,heroku,mercurial,hg-git,Heroku,Mercurial,Hg Git,几个月来,我一直在使用HgGit将我的HgRepo部署到Heroku,但最近它停止了工作 0 HAL:0 work/nrb % hg push git+ssh://git@heroku.com:nrb.git pushing to git+ssh://git@heroku.com:nrb.git/ exporting hg objects to git converting revision 75ef42d9fe22b99259a2a05b28be56c92d0aa01b creating an
0 HAL:0 work/nrb % hg push git+ssh://git@heroku.com:nrb.git
pushing to git+ssh://git@heroku.com:nrb.git/
exporting hg objects to git
converting revision 75ef42d9fe22b99259a2a05b28be56c92d0aa01b
creating and sending data
["git-receive-pack 'nrb.git'"]
Pushed to non-master branch, skipping build.
正如你所见,希罗库想要一个主分支。我试着创造一个,然后用
hg推送-b主git+ssh://git@heroku.com:nrb.git/
但是得到了同样的结果有没有办法让hg git将名为master的分支推送到Heroku?
.hg\git\HEAD
文件的内容,它必须是ref:refs/heads/master
$hg log-r提示
变更集:7:32bbc6bc3867
bookmark:master
tag:default/master
tag:tip
尝试将命令中的“-b”替换为“-b”。小写表示推送分支,而大写表示推送书签,这是Hg Git映射到Git分支的内容(无论如何,在最常见的用例中)。尝试将命令中的“-b”替换为“-b”。小写表示推送分支,而大写表示推送书签,这是Hg Git映射到Git分支的内容(无论如何,在最常见的用例中)。包含一些关于存储库的信息可能会有所帮助,特别是存在哪些书签。谢谢。如果你回答我的意见,我会接受的。