~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-05-09 14:47:11 UTC
  • mfrom: (5837.2.5 tree-is-container)
  • Revision ID: pqm@pqm.ubuntu.com-20110509144711-b87xrawe7hozixek
(jelmer) Deprecate Tree.__iter__. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2088
2088
 
2089
2089
    __contains__ = has_id
2090
2090
 
2091
 
    # should be deprecated - this is slow and in any case treating them as a
2092
 
    # container is (we now know) bad style -- mbp 20070302
2093
 
    ## @deprecated_method(zero_fifteen)
 
2091
    @symbol_versioning.deprecated_method(symbol_versioning.deprecated_in((2, 4, 0)))
2094
2092
    def __iter__(self):
2095
2093
        """Iterate through file_ids for this tree.
2096
2094