/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/workingtree_implementations/test_commit.py

  • Committer: Ian Clatworthy
  • Date: 2007-06-19 07:26:24 UTC
  • mto: (2539.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 2540.
  • Revision ID: ian.clatworthy@internode.on.net-20070619072624-73nm1uw3lu6jx4ko
Improved progress reporting for commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
345
345
        # into the factory for this test - just make the test ui factory
346
346
        # pun as a reporter. Then we can check the ordering is right.
347
347
        tree.commit('second post', specific_files=['b'])
348
 
        # 9 steps: 1 for rev, 2 for inventory, 1 for finishing. 2 for root
349
 
        # and 6 for inventory files.
350
 
        # 2 steps don't trigger an update, as 'a' and 'c' are not 
 
348
        # 4 steps, the first of which is reported 5 times, once per file
 
349
        # 2 files don't trigger an update, as 'a' and 'c' are not 
351
350
        # committed.
352
351
        self.assertEqual(
353
 
            [("update", 0, 9),
354
 
             ("update", 1, 9),
355
 
             ("update", 2, 9),
356
 
             ("update", 3, 9),
357
 
             ("update", 4, 9),
358
 
             ("update", 5, 9),
359
 
             ("update", 6, 9),
360
 
             ("update", 7, 9)],
 
352
            [('update', 1, 4),
 
353
             ('update', 1, 4),
 
354
             ('update', 1, 4),
 
355
             ('update', 1, 4),
 
356
             ('update', 1, 4),
 
357
             ('update', 2, 4),
 
358
             ('update', 3, 4),
 
359
             ('update', 4, 4)],
361
360
            factory._calls
362
361
           )