[PATCH 2 of 2 stable] largefiles: more safe handling of interruptions while updating modifications

Yuya Nishihara yuya at tcha.org
Mon Oct 17 14:28:28 UTC 2016


On Sun, 16 Oct 2016 02:30:01 +0200, Mads Kiilerich wrote:
> # HG changeset patch
> # User Mads Kiilerich <madski at unity3d.com>
> # Date 1476577785 -7200
> #      Sun Oct 16 02:29:45 2016 +0200
> # Node ID dcd190cb73a0740be570bdfbc1090066c38e1173
> # Parent  2105975810c843d016ba930c44e63699af2703a6
> largefiles: more safe handling of interruptions while updating modifications
> 
> Largefiles are fragile with the design where dirstate and lfdirstate must be
> kept in sync.
> 
> To be less fragile, mark all clean largefiles as unsure ("normallookup") before
> updating standins. After standins have been updated and we know exactly which
> largefile standins actually was changed, mark the unchanged largefiles back to
> clean ("normal").

This sounds good to me and the change looks correct. Queued, thanks.



More information about the Mercurial-devel mailing list