~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree_4.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-03-22 22:51:47 UTC
  • mfrom: (2334.1.6 make_locking_cheaper)
  • Revision ID: pqm@pqm.ubuntu.com-20070322225147-c274f2efe3564edc
(John Arbash Meinel) Change WorkingTree to not read the inventory until we have a lock.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2358
2358
        # tree during upgrade.
2359
2359
        tree._control_files.lock_write()
2360
2360
        try:
 
2361
            tree.read_working_inventory()
2361
2362
            self.create_dirstate_data(tree)
2362
2363
            self.update_format(tree)
2363
2364
            self.remove_xml_files(tree)