开发者

Mercurial status not showing modified files

I'm running Mercurial 1.6.4 on my Debian server. It is not showing modified files that I know have been modified.

I'll m开发者_StackOverflowodify a file, and an hg status will show:

! filename.txt

Then I run an hg status again and nothing shows up. I've tried to check in a file I know was modified, and alas, Mercurial says nothing was changed.

I even ran a hg st --all | grep 'M ' and it shows the modified files! Yet I can't check them in.


You should double-check that the inotify extension has not been enabled without your knowledge. Some older Debian packaged enabled it by default in the system-wide config. Use

hg showconfig --debug extensions

to list the enabled extensions and to list where each setting is read from. If it is enabled, you can disable it by adding

[extensions]
inotify = !

to your ~/.hgrc file or by editing the global config file.


I've tried to check in a file I know was modified, and alas, Mercurial says nothing was changed.

If you 'check it in', ie: commit, then status will not show it as modified because it has not been modified since the last commit.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜