/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/inventory.py

  • Committer: Ian Clatworthy
  • Date: 2008-07-29 05:09:29 UTC
  • mfrom: (3577.2.1 bzr.export-refactor)
  • mto: This revision was merged to the branch mainline in revision 3586.
  • Revision ID: ian.clatworthy@canonical.com-20080729050929-vmtl30y5wxo7gehy
Deprecate export-related InventoryEntry methods (Ian Clatworthy)

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
    BzrCheckError,
51
51
    BzrError,
52
52
    )
53
 
from bzrlib.symbol_versioning import deprecated_method
 
53
from bzrlib.symbol_versioning import deprecated_in, deprecated_method
54
54
from bzrlib.trace import mutter
55
55
 
56
56
 
176
176
                    candidates[ie.revision] = ie
177
177
        return candidates
178
178
 
 
179
    @deprecated_method(deprecated_in((1, 6, 0)))
179
180
    def get_tar_item(self, root, dp, now, tree):
180
181
        """Get a tarfile item and a file stream for its content."""
181
182
        item = tarfile.TarInfo(osutils.pathjoin(root, dp).encode('utf8'))
238
239
        raise BzrError("don't know how to export {%s} of kind %r" %
239
240
                       (self.file_id, self.kind))
240
241
 
 
242
    @deprecated_method(deprecated_in((1, 6, 0)))
241
243
    def put_on_disk(self, dest, dp, tree):
242
244
        """Create a representation of self on disk in the prefix dest.
243
245