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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-03-13 21:14:39 UTC
  • mfrom: (2321.3.10 selftest.win32-0.16)
  • Revision ID: pqm@pqm.ubuntu.com-20070313211439-de065881d219e0dd
(bialix) fixes for selftest on win32

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
import shutil
21
21
 
22
22
from bzrlib import errors, tests, workingtree_4
23
 
from bzrlib.osutils import file_kind
 
23
from bzrlib.osutils import file_kind, has_symlinks
24
24
from bzrlib.tests.intertree_implementations import TestCaseWithTwoTrees
25
25
 
26
26
# TODO: test the include_root option.
955
955
        return self.mutable_trees_to_test_trees(tree1, tree2)
956
956
 
957
957
    def test_versioned_symlinks(self):
 
958
        if not has_symlinks():
 
959
            raise tests.TestSkipped("No symlink support")
958
960
        tree1, tree2 = self.make_trees_with_symlinks()
959
961
        root_id = tree1.path2id('')
960
962
        tree1.lock_read()
979
981
                want_unversioned=True))
980
982
 
981
983
    def test_versioned_symlinks_specific_files(self):
 
984
        if not has_symlinks():
 
985
            raise tests.TestSkipped("No symlink support")
982
986
        tree1, tree2 = self.make_trees_with_symlinks()
983
987
        root_id = tree1.path2id('')
984
988
        tree1.lock_read()