~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to tests/test_link_tree.py

  • Committer: Aaron Bentley
  • Date: 2011-09-25 01:17:15 UTC
  • mfrom: (776.1.2 fix-bzr.dev-compat)
  • Revision ID: aaron@aaronbentley.com-20110925011715-o1akrv7xjl3e4iys
Fixed compatibility with bzr.dev (jelmer)

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
import os
18
18
 
19
19
from bzrlib.transform import TreeTransform
20
 
from bzrlib.tests import TestCaseWithTransport, HardlinkFeature
 
20
from bzrlib.tests import TestCaseWithTransport
 
21
 
 
22
try:
 
23
    from bzrlib.tests.features import HardlinkFeature
 
24
except ImportError: # bzr < 2.5
 
25
    from bzrlib.tests import HardlinkFeature
21
26
 
22
27
from bzrlib.plugins.bzrtools import command
23
28
from bzrlib.plugins.bzrtools.link_tree import link_tree