[PATCH] largefiles: synchronize status by synchronizing the files mtime with the lfdirstate on update

Na'Tosha Bard natosha at unity3d.com
Thu Jul 12 14:48:15 CDT 2012


2012/7/12 Matt Mackall <mpm at selenic.com>

> On Thu, 2012-07-12 at 16:36 +0200, Na'Tosha Bard wrote:
> > # HG changeset patch
> > # User Na'Tosha Bard <natosha at unity3d.com>
> > # Date 1342103731 -7200
> > # Node ID b1e224d7416bfb46f2727519569ffb935896ee5f
> > # Parent  c496de2ce56316d9adf3820473f68e29438a1a5f
> > largefiles: synchronize status by synchronizing the files mtime with the
> lfdirstate on update
> >
> > This speeds up status on a largefiles repo by synchronizing largefiles'
> mtime to what is in
> > the lfdirstate upon update, preventing the files from coming back as
> "unsure" later, requiring
> > a check of the SHA1 sum.
>
> Seems like your description is backwards still?
>

It shouldn't be, but perhaps I read what I meant, not what I wrote.


> Adrian appears to be right about wanting to use dirstate.normal()
> directly.
>

Good point; I hadn't thought about that.  I'll give it a try tomorrow and
see how it works out.

Na'Tosha


>
> --
> Mathematics is the supreme nostalgia of our time.
>
>
>


-- 
*Na'Tosha Bard*
Software Developer | Unity Technologies - Copenhagen

*E-Mail:* natosha at unity3d.com
*Skype:* natosha.bard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20120712/ef21eb59/attachment.html>


More information about the Mercurial-devel mailing list