/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

Change the sort order to match walkdirs() and iter_entries_by_dir()

Show diffs side-by-side

added added

removed removed

Lines of Context:
312
312
        """Create a tree with filenames chosen to exercise the walk order."""
313
313
        tree1 = self.make_branch_and_tree('tree1')
314
314
        tree2 = self.make_to_branch_and_tree('tree2')
315
 
        from_paths = ['b-ar', 'b-foo', 'b-zar',
316
 
                   'bar', 'bfoo','bzar',
317
 
                   'b/', 'b/ar', 'b/foo/', 'b/zar',
318
 
                   'b/foo-a', 'b/foo-z',
319
 
                   'b/fooa', 'b/fooz',
320
 
                   'b/foo/a', 'b/foo/z',
321
 
                  ]
 
315
        from_paths = ['b-ar/', 'b-ar/a',
 
316
                      'b-foo/', 'b-foo/a',
 
317
                      'b-zar/', 'b-zar/a',
 
318
                      'bar/', 'bar/a',
 
319
                      'bfoo/', 'bfoo/a',
 
320
                      'bzar/', 'bzar/a',
 
321
                      'b/', 'b/a',
 
322
                      'b/ar/', 'b/ar/a',
 
323
                      'b/foo/', 'b/foo/a',
 
324
                      'b/zar/', 'b/zar/a',
 
325
                      'b/foo-a/', 'b/foo-a/a',
 
326
                      'b/foo-z/', 'b/foo-z/a',
 
327
                      'b/fooa/', 'b/fooa/a',
 
328
                      'b/fooz/', 'b/fooz/a',
 
329
                      'b/foo/z/', 'b/foo/z/a',
 
330
                     ]
322
331
        self.build_tree(['tree2/' + p for p in from_paths])
323
332
        paths_no_slashes = [p.strip('/') for p in from_paths]
324
333
        path_ids = [p.replace('/', '_') + '-id' for p in paths_no_slashes]