Understanding dirstate.granularity

Greg Ward greg at gerg.ca
Fri Sep 25 15:27:13 CDT 2009


On Thu, Sep 24, 2009 at 4:53 PM, Adrian Buehlmann <adrian at cadifra.com> wrote:
> In practice, setting it to anything else than 1 sec
> doesn't make much sense.
>
> Setting it to 0 is in fact dangerous and reintroduces the
> problem for what this setting was invented in the first
> place.

That's what I was looking for: thanks!  Nudge nudge: that's the sort
of useful, practical advice that belongs in the documentation.

(Of course, that means we'll have a documented config setting whose
documentation is effectively, "don't change this setting".  So maybe
we should just remove dirstate.granularity instead?)

Greg


More information about the Mercurial-devel mailing list