diff mercurial/manifest.py @ 1650:f2ebd5251e88

changed template escape filter, added urlescape filter; audited all templates for insertion bugs; added note to manifest.py about newlines in filenames
author Peter van Dijk <peter@dataloss.nl>
date Sun, 29 Jan 2006 00:18:52 +0100
parents bf4e7ef08741
children cf40d2a30fef
line wrap: on
line diff
--- a/mercurial/manifest.py	Sun Jan 29 11:17:54 2006 +1300
+++ b/mercurial/manifest.py	Sun Jan 29 00:18:52 2006 +0100
@@ -108,6 +108,8 @@
             files = map.keys()
             files.sort()
 
+            % if this is changed to support newlines in filenames,
+            % be sure to check the templates/ dir again (especially *-raw.tmpl)
             text = ["%s\000%s%s\n" %
                             (f, hex(map[f]), flags[f] and "x" or '')
                             for f in files]