~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/inventory.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-04-07 13:56:43 UTC
  • mfrom: (4241.6.9 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090407135643-r15qstzbwg87d2nq
(robertc) Add --development6-rich-root,
        disabling the legacy and unneeded development2 format,
        and activating the tests for CHK features disabled pending this format.
        (Robert Collins, John Arbash Meinel, Ian Clathworthy, Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1182
1182
        return other
1183
1183
 
1184
1184
    def _get_mutable_inventory(self):
1185
 
        """Returns a mutable copy of the object.
1186
 
 
1187
 
        Some inventories are immutable, yet working trees, for example, needs
1188
 
        to mutate exisiting inventories instead of creating a new one.
1189
 
        """
1190
 
        return deepcopy(self)
1191
 
 
1192
 
    def _get_mutable_inventory(self):
1193
1185
        """See CommonInventory._get_mutable_inventory."""
1194
1186
        return deepcopy(self)
1195
1187