# HG changeset patch # User Mads Kiilerich # Date 1355422746 -3600 # Node ID e388273f3ad175904e06cbe7edb0bd250c95b9ab # Parent 03faf12fbee7e25a37608f56c72e54e77fd66fcd largefiles revert: update lfdirstate with result from first cleanliness check Largefiles revert do for some reason have two lfdirstates and lfdirstatestatus invocations in one function. The result from the first lfdirstate check was however not written back to the lfdirstate, and some files was thus checked twice. diff -r 03faf12fbee7 -r e388273f3ad1 hgext/largefiles/overrides.py --- a/hgext/largefiles/overrides.py Thu Dec 13 19:19:06 2012 +0100 +++ b/hgext/largefiles/overrides.py Thu Dec 13 19:19:06 2012 +0100 @@ -565,6 +565,7 @@ lfdirstate = lfutil.openlfdirstate(ui, repo) (modified, added, removed, missing, unknown, ignored, clean) = \ lfutil.lfdirstatestatus(lfdirstate, repo, repo['.'].rev()) + lfdirstate.write() for lfile in modified: lfutil.updatestandin(repo, lfutil.standin(lfile)) for lfile in missing: