/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/workingtree.py

  • Committer: Robert Collins
  • Date: 2006-09-05 23:15:30 UTC
  • mto: (1852.16.2 Tree.walkdirs)
  • mto: This revision was merged to the branch mainline in revision 1993.
  • Revision ID: robertc@robertcollins.net-20060905231530-8d7d1e497c574089
WorkingTree.last_revision and WorkingTree.pending_merges are deprecated.
Please use the get_parent_ids (introduced in 0.10) method instead.
(Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
731
731
 
732
732
        These are revisions that have been merged into the working
733
733
        directory but not yet committed.
 
734
 
 
735
        As of 0.11 this is deprecated. Please see WorkingTree.get_parent_ids()
 
736
        instead - which is available on all tree objects.
734
737
        """
735
738
        return self.get_parent_ids()[1:]
736
739
 
1339
1342
        always use tree.last_revision(). This returns the left most parent id,
1340
1343
        or None if there are no parents.
1341
1344
 
1342
 
        This was deprecated as of 0.10. Please use get_parent_ids now.
 
1345
        This was deprecated as of 0.11. Please use get_parent_ids instead.
1343
1346
        """
1344
1347
        return self._last_revision()
1345
1348