Mercurial > hg-stable
changeset 1451:54e4b187f69c
Remove old manifest diff code, it's now buggy
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 25 Oct 2005 22:15:44 -0700 |
parents | 199bb2b4ed4a |
children | f1755621cb7d |
files | mercurial/manifest.py |
diffstat | 1 files changed, 0 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/manifest.py Tue Oct 25 16:31:38 2005 -0700 +++ b/mercurial/manifest.py Tue Oct 25 22:15:44 2005 -0700 @@ -39,16 +39,6 @@ self.read(node) return self.mapcache[2] - def diff(self, a, b): - # this is sneaky, as we're not actually using a and b - if self.listcache and self.addlist and self.listcache[0] == a: - d = mdiff.diff(self.listcache[1], self.addlist, 1) - if mdiff.patch(a, d) != b: - raise AssertionError(_("sortdiff failed!")) - return d - else: - return mdiff.textdiff(a, b) - def add(self, map, flags, transaction, link, p1=None, p2=None, changed=None): # directly generate the mdiff delta from the data collected during