~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.py

  • Committer: Robert Collins
  • Date: 2006-09-10 23:56:57 UTC
  • mto: This revision was merged to the branch mainline in revision 2000.
  • Revision ID: robertc@robertcollins.net-20060910235657-56a542e8af8f28de
``bzr checkout --lightweight`` now operates on readonly branches as well
as readwrite branches. This fixes bug #39542 for lightweight checkouts 
but not for heavyweight ones (the default). (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2052
2052
                         _format=self,
2053
2053
                         _bzrdir=a_bzrdir,
2054
2054
                         _control_files=control_files)
2055
 
        wt.lock_write()
 
2055
        wt.lock_tree_write()
2056
2056
        try:
2057
2057
            wt._write_inventory(inv)
2058
2058
            wt.set_root_id(inv.root.file_id)