~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Martin Pool
  • Date: 2005-07-18 11:37:33 UTC
  • Revision ID: mbp@sourcefrog.net-20050718113733-39beb81b0e1ead4d
- don't intern weave text; it doesn't seem to help

Show diffs side-by-side

added added

removed removed

Lines of Context:
361
361
            # ElementTree does its own conversion from UTF-8, so open in
362
362
            # binary.
363
363
            inv = unpack_xml(Inventory,
364
 
                             self.controlfile('inventory', 'rb'))
 
364
                                  self.controlfile('inventory', 'rb'))
365
365
            mutter("loaded inventory of %d items in %f"
366
366
                   % (len(inv), time() - before))
367
367
            return inv
806
806
        True
807
807
        """
808
808
        from bzrlib.progress import ProgressBar
 
809
        try:
 
810
            set
 
811
        except NameError:
 
812
            from sets import Set as set
809
813
 
810
814
        pb = ProgressBar()
811
815