当有变化时,Mercurial返回“没有发现变化”!

时间:2011-01-02 09:02:52

标签: version-control mercurial

为什么?

Mercurial Pull
--------------
INFO Pulling From: http://localhost/hg/hg/PorjectName/ ...
comparing with http://localhost/hg/hg/PorjectName/
searching for changes
no changes found
INFO Pulled From: http://localhost/hg/hg/PorjectName/
INFO To:        Project Name - /Users/myusername/Sites/projects/PorjectName
INFO: End of Mercurial Pull

我100%确定有变化,我可以通过浏览存储库看到它。

请帮忙。感谢。

2 个答案:

答案 0 :(得分:7)

拔了之后你做过hg update吗?因为这将使用从存储库中提取的更改来更新工作目录。

另外,查看本地存储库以查看本地存储库中的更改集。

答案 1 :(得分:0)

在我克隆了一个空的存储库后,它看到我已经拥有的所有文件都没有被更改,所以我无法推送它们。我不得不使用IDE的刷新文件状态

http://www.jetbrains.com/pycharm/webhelp/refreshing-status.html

基本上告诉它所有文件都已更改并将它们全部推送

我只会在新的存储库中执行此操作。