~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_commit_merge.py

  • Committer: Martin Pool
  • Date: 2007-03-31 03:19:39 UTC
  • mto: (2389.1.1 0.15-to-trunk)
  • mto: This revision was merged to the branch mainline in revision 2390.
  • Revision ID: mbp@sourcefrog.net-20070331031939-3bc0km32p5gko14w
rename support_tree_reference to supports_

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
import shutil
20
20
 
21
21
from bzrlib.tests import (
22
 
    SymlinkFeature,
23
22
    TestCaseWithTransport,
 
23
    TestSkipped,
24
24
    )
25
25
from bzrlib.branch import Branch
26
26
from bzrlib.errors import PointlessCommit, BzrError
102
102
        by.repository.check([by.last_revision()])
103
103
 
104
104
    def test_merge_with_symlink(self):
105
 
        self.requireFeature(SymlinkFeature)
 
105
        if not osutils.has_symlinks():
 
106
            raise TestSkipped('Symlinks are not supported on this platform')
106
107
        tree_a = self.make_branch_and_tree('tree_a')
107
108
        os.symlink('target', osutils.pathjoin('tree_a', 'link'))
108
109
        tree_a.add('link')