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

  • Committer: Martin Pool
  • Date: 2009-08-28 04:13:16 UTC
  • mfrom: (4634.6.8 2.0)
  • mto: This revision was merged to the branch mainline in revision 4660.
  • Revision ID: mbp@sourcefrog.net-20090828041316-adcbxfnfpc4bjtpl
Merge 2.0 back to trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
419
419
            (('', '', tree.get_root_id()), # common details
420
420
             [('d', '', 0, False, dirstate.DirState.NULLSTAT), # current tree
421
421
              ('d', '', 0, False, rev_id), # first parent details
422
 
              ('d', '', 0, False, rev_id2), # second parent details
 
422
              ('d', '', 0, False, rev_id), # second parent details
423
423
             ])])
424
424
        state = dirstate.DirState.from_tree(tree, 'dirstate')
425
425
        self.check_state_with_reopen(expected_result, state)
500
500
            (('', '', tree.get_root_id()), # common details
501
501
             [('d', '', 0, False, dirstate.DirState.NULLSTAT), # current tree
502
502
              ('d', '', 0, False, rev_id), # first parent details
503
 
              ('d', '', 0, False, rev_id2), # second parent details
 
503
              ('d', '', 0, False, rev_id), # second parent details
504
504
             ]),
505
505
            (('', 'a file', 'a-file-id'), # common
506
506
             [('f', '', 0, False, dirstate.DirState.NULLSTAT), # current
1000
1000
                [(('', '', root_id), [
1001
1001
                  ('d', '', 0, False, dirstate.DirState.NULLSTAT),
1002
1002
                  ('d', '', 0, False, revid1),
1003
 
                  ('d', '', 0, False, revid2)
 
1003
                  ('d', '', 0, False, revid1)
1004
1004
                  ])],
1005
1005
                list(state._iter_entries()))
1006
1006
        finally:
1034
1034
            (('', '', root_id), [
1035
1035
             ('d', '', 0, False, dirstate.DirState.NULLSTAT),
1036
1036
             ('d', '', 0, False, revid1.encode('utf8')),
1037
 
             ('d', '', 0, False, revid2.encode('utf8'))
 
1037
             ('d', '', 0, False, revid1.encode('utf8'))
1038
1038
             ]),
1039
1039
            (('', 'a file', 'file-id'), [
1040
1040
             ('a', '', 0, False, ''),