dirstate incorrectly updated, modified files not shown

Matt Mackall mpm at selenic.com
Sat Dec 20 16:49:45 UTC 2008


On Fri, 2008-12-19 at 22:57 -0800, Tom Karzes wrote:
> And the filesystems are generally NFS-mounted.  I believe most people
> are working from a single Linux machine (per person).  I had wondered it
> clock skew could be at fault here, but I'm not sure how that would
> explain the fact that the modified files, including their new sizes, are
> ending up in the dirstate file.

Very interesting.

Ok, so the facts are:

- hg 1.0.1
- Linux
- NFS
- Mysterious multi-repo extension

There are a couple known windows where dirstate can get out of line:

- edits during commit
- edits during checkout
- possibly edits during status

The last is because we opportunistically update the dirstate for files
that we determine are clean.

Also, there are a couple extensions that have been known to cause status
issues in the past:

- keyword
- inotify
- win32text

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial mailing list