equal
deleted
inserted
replaced
128 _("'\\n' and '\\r' disallowed in filenames: %r") % f) |
128 _("'\\n' and '\\r' disallowed in filenames: %r") % f) |
129 |
129 |
130 # if we're using the listcache, make sure it is valid and |
130 # if we're using the listcache, make sure it is valid and |
131 # parented by the same node we're diffing against |
131 # parented by the same node we're diffing against |
132 if not (changed and self.listcache and p1 and self.mapcache[0] == p1): |
132 if not (changed and self.listcache and p1 and self.mapcache[0] == p1): |
133 files = util.sort(map) |
133 files = sorted(map) |
134 checkforbidden(files) |
134 checkforbidden(files) |
135 |
135 |
136 # if this is changed to support newlines in filenames, |
136 # if this is changed to support newlines in filenames, |
137 # be sure to check the templates/ dir again (especially *-raw.tmpl) |
137 # be sure to check the templates/ dir again (especially *-raw.tmpl) |
138 hex, flags = revlog.hex, map.flags |
138 hex, flags = revlog.hex, map.flags |