Fix occassional diff bug with manifests
authormpm@selenic.com
Tue, 10 May 2005 00:33:48 -0800
changeset 44 e825a68d7227
parent 43 42177b56b949
child 45 f2b2d5daec30
Fix occassional diff bug with manifests
mercurial/hg.py
--- a/mercurial/hg.py
+++ b/mercurial/hg.py
@@ -89,7 +89,7 @@ class manifest(revlog):
         if self.listcache and len(self.listcache[0]) == len(a):
             return mdiff.diff(self.listcache[1], self.addlist, 1)
         else:
-            return mdiff.diff(a, b)
+            return mdiff.textdiff(a, b)
 
     def add(self, map, transaction, link, p1=None, p2=None):
         files = map.keys()