/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 tests/test_branch.py

Branch.revision_history is deprecated.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
from bzrlib.repository import (
46
46
    Repository,
47
47
    )
 
48
from bzrlib.symbol_versioning import (
 
49
    deprecated_in,
 
50
    )
48
51
 
49
52
from bzrlib.plugins.git import (
50
53
    branch,
113
116
 
114
117
        thebranch = Branch.open('.')
115
118
        self.assertEqual([default_mapping.revision_id_foreign_to_bzr(r) for r in (reva, revb)],
116
 
                         thebranch.revision_history())
 
119
                         self.applyDeprecated(deprecated_in((2, 5, 0)), thebranch.revision_history))
117
120
 
118
121
    def test_tag_annotated(self):
119
122
        reva = self.simple_commit_a()