Checkout files not in sync with workdir parent !
Long Vu
long.vu at intelerad.com
Tue Jan 8 19:48:47 UTC 2013
On Tue, Jan 8, 2013 at 2:32 PM, Matt Mackall <mpm at selenic.com> wrote:
> On Mon, 2013-01-07 at 17:11 -0500, Long Vu wrote:
> > Hi,
> >
> > Here's what happened:
> >
> > # have not pulled for a while
> > hg pull
> > hg update
> > hg cat -r . file1 > file1_from_repo
> > diff file1 file1_from_repo
> > # diff found differences
> >
> > But hg status and hg diff found nothing !
>
> Stock Mercurial can miss changes if:
>
> - the timestamp is unchanged
> - the size is unchanged
> - the timestamp is NOT the time of checkout
>
> In other words, you take a file Mercurial knows is clean, make a
> size-preserving edit, then set the date back to its original date.
> This is an issue we're not going to fix; it would make Mercurial an
> order of magnitude slower for everyone to catch a very small number of
> misbehaving apps/users.
>
> It may also be possible to miss changes if a write to the file occurs
> during checkout.
>
Interesting ! Do you mean if another process write to the file during
checkout, checkout will fail to update that file but still think the file
is clean?
>
> If you can reproduce the issue, please file a bug report, we may be able
> to diagnose it. But reports after you've destroyed the evidence: not so
> interesting.
>
>
If another co-worker get that problem, I'll save the workdir !
--
This email or any attachments may contain confidential or legally
privileged information intended for the sole use of the addressees. Any
use, redistribution, disclosure, or reproduction of this information,
except as intended, is prohibited. If you received this email in error,
please notify the sender and remove all copies of the message, including
any attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20130108/1f710099/attachment-0002.html>
More information about the Mercurial
mailing list