Rev 5358: We need to assert that the --hardlink makes the files the same, not different. in http://bazaar.launchpad.net/~jameinel/bzr/2.3-disable-accelerator-tree

John Arbash Meinel john at arbash-meinel.com
Wed Jul 21 21:09:42 BST 2010


At http://bazaar.launchpad.net/~jameinel/bzr/2.3-disable-accelerator-tree

------------------------------------------------------------
revno: 5358
revision-id: john at arbash-meinel.com-20100721200934-ri3rawaz2dir6f95
parent: john at arbash-meinel.com-20100721135041-tnithvvwl1zo9dq8
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: 2.3-disable-accelerator-tree
timestamp: Wed 2010-07-21 15:09:34 -0500
message:
  We need to assert that the --hardlink makes the files the same, not different.
-------------- next part --------------
=== modified file 'bzrlib/tests/blackbox/test_branch.py'
--- a/bzrlib/tests/blackbox/test_branch.py	2010-07-20 10:18:05 +0000
+++ b/bzrlib/tests/blackbox/test_branch.py	2010-07-21 20:09:34 +0000
@@ -195,7 +195,7 @@
         second_stat = os.stat('second/file1')
         target_stat = os.stat('target/file1')
         self.assertNotEqual(source_stat, target_stat)
-        self.assertNotEqual(second_stat, target_stat)
+        self.assertEqual(second_stat, target_stat)
 
     def test_branch_standalone(self):
         shared_repo = self.make_repository('repo', shared=True)



More information about the bazaar-commits mailing list