简体   繁体   English

Mercurial-服务器上显示的文件nog(ls命令)

[英]Mercurial - Files nog showing on server (ls command)

I'm trying to setup a java buildserver with jenkins,maven and mercurial. 我正在尝试使用jenkins,maven和mercurial设置Java buildserver。 Now my mercurial server is working i can push, pull and commit. 现在我的辅助服务器正在工作,我可以推送,拉出和提交。 Running the command 'hg serve' on the server allows me to see commits from my clients. 在服务器上运行命令“ hg serve”使我能够查看来自客户端的提交。 But when i go manually into the repository (cd in server-terminal) and do an 'ls' command i can't see any file. 但是,当我手动进入存储库(服务器终端中的CD)并执行“ ls”命令时,我看不到任何文件。 When i clone the repository onto a new client i DO recieve the files pushed by the other clients. 当我将存储库克隆到新客户端上时,我确实会收到其他客户端推送的文件。

This is somewhat strange behaviour. 这有点奇怪。 Does anyone recognize this? 有人认识吗? What should i do to fix this? 我应该怎么做才能解决这个问题?

Using the command: hg update fixed the problem. 使用以下命令:hg update解决了该问题。 I can now see my folder 我现在可以看到我的文件夹

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM