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

Matt Mackall mpm at selenic.com
Thu Jul 5 13:04:55 CDT 2007


On Thu, Jul 05, 2007 at 05:58:16PM +0100, Jim Hague wrote:
> On Thursday 05 July 2007 17:08, Matt Mackall wrote:
> > On Thu, Jul 05, 2007 at 11:30:24AM +0100, Jim Hague wrote:
> > > [...] 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.
> > >
> > >[...]
> >
> > Changes that don't change file time OR size OR mode are indeed not
> > detected.
> 
> A quick look at the Subversion source suggests that they have the same 
> problem. Or they would, were it not for the client calling 
> svn_sleep_for_timestamps() (which sleeps to the next second tick + 0.1s for 
> margin) after updating operations. Would you consider similar for hg? Bit 
> hacky, I know.

We could do that. But adding an average of a half a second to lots of
operations isn't a very friendly thing to do. You might not notice it
with SVN, but it would make my typical hg checkout up to 500% slower!

The trick is to somehow make people who are doing automation like you
bear the penalty.

-- 
Mathematics is the supreme nostalgia of our time.


More information about the Mercurial mailing list