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

Christian Höltje docwhat at gerf.org
Fri Jul 6 14:58:37 CDT 2007


* Matthieu Moy (Matthieu.Moy at imag.fr) [070706 12:26]:
> Matt Mackall <mpm at selenic.com> writes:
> 
> > 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".
> 
> And indeed, "--checksum" would take a lot more than 1 second in 99.9%
> cases (that means actually reading the whole content of the tree
> instead of stating each file).

How about when the update happens, set the timestamp on the file
*back* a second or so?  ie, pretend you started waiting a second ago
instead of actually waiting?

Ciao!

-- 
I must say that I find television very educational. The minute somebody
turns it on, I go to the library and read a book.
	-- Groucho Marx

The Doctor What: Hoopy Frood                     http://docwhat.gerf.org/
docwhat *at* gerf *dot* org                                        KF6VNC


More information about the Mercurial mailing list