开发者

files in .hg directory show up when I run "hg status"

开发者 https://www.devze.com 2023-02-18 00:02 出处:网络
I am working on a project in Mercurial, and all of a sudden, when I run \"hg status\", I see a bunch of files in my \".hg\" directory, reported as 开发者_如何学Go\"not tracked\". It looks like this:

I am working on a project in Mercurial, and all of a sudden, when I run "hg status", I see a bunch of files in my ".hg" directory, reported as 开发者_如何学Go"not tracked". It looks like this:

? .hg/00changelog.i
? .hg/00manifest.i
? .hg/branch
? .hg/branchheads.cache
? .hg/data/.hgignore.i
? .hg/data/.htaccess.i
? .hg/data/autostart.cgi.i
? .hg/data/common.py.i
? .hg/data/common.pyc.i
? .hg/data/cron.i
? .hg/data/index.html.i

The list is much longer. I can show you everything if you want. Why is this happening? I know that files in ".hg" are special to Mercurial but why is it suddenly telling me now? It is annoying to have my status listing cluttered with this stuff. How can I make it stop?


Try cloning your repository and see if the problem persists in the new clone. If it doesn't you can copy over any uncommitted files to it and then adjust the default pull path in .hg/hgrc and forget about the broken clone. You may want to save the broken clone until you are sure everything you need is safely in the new clone.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号