changeset 1540 | 8ca9f5b17257 |
parent 1117 | 30ab5b8ee8ec |
child 1541 | bf4e7ef08741 |
--- a/mercurial/filelog.py +++ b/mercurial/filelog.py @@ -54,7 +54,7 @@ class filelog(revlog): mt = "" if meta: mt = [ "%s: %s\n" % (k, v) for k,v in meta.items() ] - text = "\1\n" + "".join(mt) + "\1\n" + text + text = "\1\n%s\1\n%s" % ("".join(mt), text) return self.addrevision(text, transaction, link, p1, p2) def renamed(self, node):