mercurial/manifest.py
changeset 8209 a1a5a57efe90
parent 8077 d051342f1ad1
child 8225 46293a0c7e9f
equal deleted inserted replaced
8208:32a2a1e244f1 8209:a1a5a57efe90
   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