Mercurial > public > mercurial-scm > hg-stable
diff mercurial/localrepo.py @ 1645:c6ffedc4f11b
add removed files to the changelog file list
- this should allow better detection of removed file
when walking in the history (like hg log)
it doesn't help for the fast path of hg log where
we only look at the filelog
- users of the changelog file list shouldn't assume
anymore that the file still exist (anyway it won't
be found in the manifest like in 5ecf05541e11)
- fix the tests (some hashes changed)
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Sun, 29 Jan 2006 08:38:31 +1300 |
parents | 3f214984fd9e |
children | d529cdc0a3ee |
line wrap: on
line diff
--- a/mercurial/localrepo.py Sat Jan 28 17:16:15 2006 +1300 +++ b/mercurial/localrepo.py Sun Jan 29 08:38:31 2006 +1300 @@ -451,7 +451,7 @@ text = edittext user = user or self.ui.username() - n = self.changelog.add(mn, changed, text, tr, p1, p2, user, date) + n = self.changelog.add(mn, changed + remove, text, tr, p1, p2, user, date) tr.close() self.dirstate.setparents(n)