File not marked as 'M' when contents differ from repo

Evan Powers evan.powers+hg at gmail.com
Fri Jul 6 20:19:20 CDT 2007


On 7/6/07, Matt Mackall <mpm at selenic.com> wrote:
> Doesn't help. The problem is knowing the problem exists. Once you're
> aware of it, you can just as easily add "sleep 1" to your script as
> add "--checksum".

An option that bypasses the dirstate cache might nevertheless be
useful for status and commit corner cases or bugs, especially if it
applies encoding hooks before comparing the working copy with the
repository.

For example, right now there's no way (that I know of) to get correct
output from status when using an encoding hook that might make a
modified file effectively unmodified--such as by normalizing file
whitespace.

- Evan


More information about the Mercurial mailing list