Rev 2424: (broken) Update the test to actually expose the iter_changes bug. in http://bazaar.launchpad.net/%7Ebzr/bzr/dirstate

John Arbash Meinel john at arbash-meinel.com
Mon Feb 26 23:00:50 GMT 2007


At http://bazaar.launchpad.net/%7Ebzr/bzr/dirstate

------------------------------------------------------------
revno: 2424
revision-id: john at arbash-meinel.com-20070226225809-aji8zrsvo4rzc4bp
parent: john at arbash-meinel.com-20070226221107-q3sz1brqz1yxugos
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: dirstate
timestamp: Mon 2007-02-26 16:58:09 -0600
message:
  (broken) Update the test to actually expose the iter_changes bug.
modified:
  bzrlib/tests/intertree_implementations/test_compare.py test_compare.py-20060724101752-09ysswo1a92uqyoz-2
-------------- next part --------------
=== modified file 'bzrlib/tests/intertree_implementations/test_compare.py'
--- a/bzrlib/tests/intertree_implementations/test_compare.py	2007-02-26 21:51:04 +0000
+++ b/bzrlib/tests/intertree_implementations/test_compare.py	2007-02-26 22:58:09 +0000
@@ -312,13 +312,22 @@
         """Create a tree with filenames chosen to exercise the walk order."""
         tree1 = self.make_branch_and_tree('tree1')
         tree2 = self.make_to_branch_and_tree('tree2')
-        from_paths = ['b-ar', 'b-foo', 'b-zar',
-                   'bar', 'bfoo','bzar',
-                   'b/', 'b/ar', 'b/foo/', 'b/zar',
-                   'b/foo-a', 'b/foo-z',
-                   'b/fooa', 'b/fooz',
-                   'b/foo/a', 'b/foo/z',
-                  ]
+        from_paths = ['b-ar/', 'b-ar/a',
+                      'b-foo/', 'b-foo/a',
+                      'b-zar/', 'b-zar/a',
+                      'bar/', 'bar/a',
+                      'bfoo/', 'bfoo/a',
+                      'bzar/', 'bzar/a',
+                      'b/', 'b/a',
+                      'b/ar/', 'b/ar/a',
+                      'b/foo/', 'b/foo/a',
+                      'b/zar/', 'b/zar/a',
+                      'b/foo-a/', 'b/foo-a/a',
+                      'b/foo-z/', 'b/foo-z/a',
+                      'b/fooa/', 'b/fooa/a',
+                      'b/fooz/', 'b/fooz/a',
+                      'b/foo/z/', 'b/foo/z/a',
+                     ]
         self.build_tree(['tree2/' + p for p in from_paths])
         paths_no_slashes = [p.strip('/') for p in from_paths]
         path_ids = [p.replace('/', '_') + '-id' for p in paths_no_slashes]



More information about the bazaar-commits mailing list