~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/mutabletree.py

  • Committer: Robert Collins
  • Date: 2007-03-01 07:43:39 UTC
  • mto: (2255.11.3 dirstate)
  • mto: This revision was merged to the branch mainline in revision 2322.
  • Revision ID: robertc@robertcollins.net-20070301074339-34mc7tfym7o4uugf
MutableTree.add only needs a tree write lock.

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
    branch and bzrdir attributes.
62
62
    """
63
63
 
64
 
    @needs_write_lock
 
64
    @needs_tree_write_lock
65
65
    def add(self, files, ids=None, kinds=None):
66
66
        """Add paths to the set of versioned paths.
67
67