mercurial/manifest.py
changeset 24502 ecac0dd246a8
parent 24495 d2a3a2808974
child 24524 63b6031384fc
equal deleted inserted replaced
24501:8b51ec98a326 24502:ecac0dd246a8
    85                 c[f] = n, fl
    85                 c[f] = n, fl
    86         return c
    86         return c
    87 
    87 
    88     def text(self):
    88     def text(self):
    89         """Get the full data of this manifest as a bytestring."""
    89         """Get the full data of this manifest as a bytestring."""
    90         fl = sorted(self.iterentries())
    90         fl = self.iterentries()
    91 
    91 
    92         _hex = revlog.hex
    92         _hex = revlog.hex
    93         # if this is changed to support newlines in filenames,
    93         # if this is changed to support newlines in filenames,
    94         # be sure to check the templates/ dir again (especially *-raw.tmpl)
    94         # be sure to check the templates/ dir again (especially *-raw.tmpl)
    95         return ''.join("%s\0%s%s\n" % (
    95         return ''.join("%s\0%s%s\n" % (