/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/test_diff.py

  • Committer: Matt McClure
  • Date: 2008-04-12 15:11:53 UTC
  • mto: (3452.1.1 bzr.dev.mlm)
  • mto: This revision was merged to the branch mainline in revision 3493.
  • Revision ID: mlm@aya.yale.edu-20080412151153-lti0an0cmjfg993u
Extracted a host_os_dereferences_symlinks method.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1332
1332
        self.assertContainsRe(new_path, 'new/newname$')
1333
1333
        self.assertFileEqual('oldcontent', old_path)
1334
1334
        self.assertFileEqual('newcontent', new_path)
1335
 
        if osutils.has_symlinks() and sys.platform != 'cygwin':
 
1335
        if osutils.host_os_dereferences_symlinks():
1336
1336
            self.assertTrue(os.path.samefile('tree/newname', new_path))
1337
1337
        # make sure we can create files with the same parent directories
1338
1338
        diff_obj._prepare_files('file-id', 'oldname2', 'newname2')