hgext/largefiles/lfcommands.py
changeset 24180 d8e0c591781c
parent 23893 f21a0d6d6efd
child 24788 b8c3a0994b37
--- a/hgext/largefiles/lfcommands.py	Fri Feb 27 21:42:58 2015 +0100
+++ b/hgext/largefiles/lfcommands.py	Sun Jan 18 02:38:57 2015 +0100
@@ -471,9 +471,8 @@
                     if lfile not in repo[None]: # not switched to normal file
                         util.unlinkpath(abslfile, ignoremissing=True)
                     # use normallookup() to allocate an entry in largefiles
-                    # dirstate, because lack of it misleads
-                    # lfilesrepo.status() into recognition that such cache
-                    # missing files are removed.
+                    # dirstate to prevent lfilesrepo.status() from reporting
+                    # missing files as removed.
                     lfdirstate.normallookup(lfile)
                     update[lfile] = expecthash
             else: