mercurial/localrepo.py
changeset 12622 01b6f058021b
parent 12337 6a6149487817
child 12687 34d8247a4595
--- a/mercurial/localrepo.py	Fri Oct 08 17:00:38 2010 -0500
+++ b/mercurial/localrepo.py	Fri Oct 08 18:00:15 2010 -0500
@@ -1408,7 +1408,7 @@
             # the first manifest that references it belongs to.
             def collect_msng_filenodes(mnfstnode):
                 r = mnfst.rev(mnfstnode)
-                if r - 1 in mnfst.parentrevs(r):
+                if mnfst.deltaparent(r) in mnfst.parentrevs(r):
                     # If the previous rev is one of the parents,
                     # we only need to see a diff.
                     deltamf = mnfst.readdelta(mnfstnode)