~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/tree_implementations/test_inv.py

Merge find_previous_heads deprecation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
from bzrlib.osutils import (
26
26
    has_symlinks,
27
27
    )
 
28
from bzrlib.symbol_versioning import zero_ninetyone
28
29
from bzrlib.tests import TestSkipped
29
30
from bzrlib.tests.tree_implementations import TestCaseWithTree
30
31
from bzrlib.uncommit import uncommit
177
178
            self.branch.repository.get_transaction())
178
179
        
179
180
    def get_previous_heads(self, inventories):
180
 
        return self.file_active.find_previous_heads(
181
 
            inventories, 
 
181
        return self.applyDeprecated(zero_ninetyone,
 
182
            self.file_active.find_previous_heads,
 
183
            inventories,
182
184
            self.branch.repository.weave_store,
183
185
            self.branch.repository.get_transaction())
184
186