Mercurial 执行[hg out]时未找到.hg
我创建了一个本地回购协议Mercurial 执行[hg out]时未找到.hg,mercurial,Mercurial,我创建了一个本地回购协议 local-host $ hg init ~/test/ 然后在远程主机上进行克隆 remote-host $ hg clone ssh://user@local-host/test 没有任何问题 当我试图检查远程回购中是否有传出更改时,我收到了这个错误 remote-host $ cd test remote-host $ hg --verbose out comparing with ssh://user@local-host/test running ssh
local-host $ hg init ~/test/
然后在远程主机上进行克隆
remote-host $ hg clone ssh://user@local-host/test
没有任何问题
当我试图检查远程回购中是否有传出更改时,我收到了这个错误
remote-host $ cd test
remote-host $ hg --verbose out
comparing with ssh://user@local-host/test
running ssh user@local-host 'hg -R test serve --stdio'
searching for changes
no changes found
remote: abort: no repository found in '/home/user' (.hg not found)!
remote: abort: no repository found in '/home/user' (.hg not found)!
如果我在远程/本地存储库中提交任何更改并将其推送,我会收到错误,但更改会被推送
两台主机都有相同的mercurial版本
有什么想法吗?你需要让它知道哪个存储库最简单:
remote-host $ cd ~/test/
remote-host $ hg --verbose out
我试图在mercurial repo中执行“hg--verbose out”(我用“cd测试”更新了示例代码以明确说明)。在您的存储库中,
ls-al
的输出是什么?total 12 drwxr-x 3 user user 4096 Jun 30 12:45。drwxrwxr-x 26用户用户4096六月30日12:45。。drwxrwxr-x 3用户4096 Jun 30 12:45.hg
(如何在回复中多行?:p)存储库是否位于远程计算机上的~/test
中?是否可能重复