equal
deleted
inserted
replaced
859 self._flags[f] = fl |
859 self._flags[f] = fl |
860 |
860 |
861 def text(self, usemanifestv2=False): |
861 def text(self, usemanifestv2=False): |
862 """Get the full data of this manifest as a bytestring.""" |
862 """Get the full data of this manifest as a bytestring.""" |
863 self._load() |
863 self._load() |
864 flags = self.flags |
864 return _text(self.iterentries(), usemanifestv2) |
865 return _text(((f, self[f], flags(f)) for f in self.keys()), |
|
866 usemanifestv2) |
|
867 |
865 |
868 def dirtext(self, usemanifestv2=False): |
866 def dirtext(self, usemanifestv2=False): |
869 """Get the full data of this directory as a bytestring. Make sure that |
867 """Get the full data of this directory as a bytestring. Make sure that |
870 any submanifests have been written first, so their nodeids are correct. |
868 any submanifests have been written first, so their nodeids are correct. |
871 """ |
869 """ |