--- a/mercurial/manifest.py Tue Oct 18 18:38:04 2005 -0700
+++ b/mercurial/manifest.py Tue Oct 18 18:38:39 2005 -0700
@@ -44,7 +44,7 @@
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!")
+ raise AssertionError(_("sortdiff failed!"))
return d
else:
return mdiff.textdiff(a, b)
@@ -145,7 +145,7 @@
end = bs
if w[1] == 1:
raise AssertionError(
- "failed to remove %s from manifest\n" % f)
+ _("failed to remove %s from manifest\n") % f)
else:
# item is found, replace/delete the existing line
end = bs + 1
@@ -159,7 +159,7 @@
text = "".join(self.addlist)
if cachedelta and mdiff.patch(self.listcache[0], cachedelta) != text:
- raise AssertionError("manifest delta failure\n")
+ raise AssertionError(_("manifest delta failure\n"))
n = self.addrevision(text, transaction, link, p1, p2, cachedelta)
self.mapcache = (n, map, flags)
self.listcache = (text, self.addlist)