~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.py

  • Committer: Aaron Bentley
  • Date: 2007-09-17 12:46:56 UTC
  • mfrom: (2825 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2826.
  • Revision ID: abentley@panoramicfeedback.com-20070917124656-j3hhxhx9igy11mfc
merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
995
995
        return wt
996
996
 
997
997
    def _serialize(self, inventory, out_file):
998
 
        xml5.serializer_v5.write_inventory(self._inventory, out_file)
 
998
        xml5.serializer_v5.write_inventory(self._inventory, out_file,
 
999
            working=True)
999
1000
 
1000
1001
    def _deserialize(selt, in_file):
1001
1002
        return xml5.serializer_v5.read_inventory(in_file)
2640
2641
        """
2641
2642
        sio = StringIO()
2642
2643
        inv = Inventory()
2643
 
        xml5.serializer_v5.write_inventory(inv, sio)
 
2644
        xml5.serializer_v5.write_inventory(inv, sio, working=True)
2644
2645
        sio.seek(0)
2645
2646
        control_files.put('inventory', sio)
2646
2647