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

Matt Mackall mpm at selenic.com
Thu Jul 5 11:08:11 CDT 2007


On Thu, Jul 05, 2007 at 11:30:24AM +0100, Jim Hague wrote:
> In article <loom.20070704T211330-427 at post.gmane.org>, I wrote:
> >I've tried to reproduce it by hand, but so far without success.
> 
> After a bit more fiddling this morning, it looks like the problem
> is that a change made in the same second as an update won't be
> detected.
> 
> $ rm *
> $ hg update -C 38 ; echo "1.1.1" > buildno
> 7 files updated, 0 files merged, 0 files removed, 0 files unresolved
> $ hg status
> $ more buildno
> 1.1.1
> $ hg cat buildno
> 1.1.0

Changes that don't change file time OR size OR mode are indeed not
detected.

-- 
Mathematics is the supreme nostalgia of our time.


More information about the Mercurial mailing list