largefiles status: update lfdirstate with result from cleanliness check stable
authorMads Kiilerich <madski@unity3d.com>
Thu, 13 Dec 2012 19:19:06 +0100
branchstable
changeset 18139 03faf12fbee7
parent 18138 8ab0640c3090
child 18140 e388273f3ad1
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().
hgext/largefiles/reposetup.py
--- a/hgext/largefiles/reposetup.py	Fri Dec 28 11:16:01 2012 +0100
+++ b/hgext/largefiles/reposetup.py	Thu Dec 13 19:19:06 2012 +0100
@@ -269,6 +269,8 @@
                         return f
                     result = [[toname(f) for f in items] for items in result]
 
+                lfdirstate.write()
+
                 if not listunknown:
                     result[4] = []
                 if not listignored: