我创建一个本地回购
local-host $ hg init ~/test/然后在远程主机上我做了一个克隆
remote-host $ hg clone ssh://user@local-host/test没有任何问题。
当im试图检查远程回购中是否有传出更改时,im会收到此错误
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)!如果我在远程/本地存储库中提交任何更改并将其推送,则得到错误,但更改会被推送。
两台主机都有相同的变体版本。
有什么想法吗?
发布于 2013-07-22 20:36:25
您需要让它知道哪个存储库-最简单的是:
remote-host $ cd ~/test/
remote-host $ hg --verbose outhttps://stackoverflow.com/questions/17750861
复制相似问题