# HG changeset patch # User Mads Kiilerich # Date 2012-12-13 18:19:06 # Node ID 03faf12fbee7e25a37608f56c72e54e77fd66fcd # Parent 8ab0640c309081119a26cce8cf9b50e2551dfb18 largefiles status: update lfdirstate with result from cleanliness check Problem: 'hg status' kept checking largefiles with an unknown state until some other command wrote the updated dirstate. Solution: Add missing lfdirstate.write(). diff --git a/hgext/largefiles/reposetup.py b/hgext/largefiles/reposetup.py --- a/hgext/largefiles/reposetup.py +++ b/hgext/largefiles/reposetup.py @@ -269,6 +269,8 @@ def reposetup(ui, repo): return f result = [[toname(f) for f in items] for items in result] + lfdirstate.write() + if not listunknown: result[4] = [] if not listignored: