Mercurual doesn't see changes

Benoit Boissinot bboissin at gmail.com
Tue Nov 18 01:38:19 CST 2008


On Tue, Nov 18, 2008 at 3:18 AM, Michael Smith
<michael.smith at thalesatm.com> wrote:
> Benoit Boissinot wrote:
>>
>> Mercurial might miss some changes if: the modified content has the
>> same size as the old
>> content, and the change is done less than one second after the "hg
>> update" (update of the
>> dirstate).
>>
> rsync has a --checksum option for this reason. I wonder if mercurial
> should have something similar? Another way would be an option to force a
> commit when you know there really has been a change. Both of these
> options could be handy for automated tools.

If you know it has changed, then touch-ing it will force the checksum.

regards,

Benoit


More information about the Mercurial mailing list