~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_add.py

  • Committer: Robert Collins
  • Date: 2007-03-01 08:44:14 UTC
  • mto: (2255.11.3 dirstate)
  • mto: This revision was merged to the branch mainline in revision 2322.
  • Revision ID: robertc@robertcollins.net-20070301084414-h302pw7vt7wllqb6
Fix all blackbox add tests, and the add --from-ids case in the UI.

Show diffs side-by-side

added added

removed removed

Lines of Context:
144
144
                             'added b/c w/ file id from b/c\n',
145
145
                             out)
146
146
 
147
 
        new_tree.read_working_inventory()
148
147
        self.assertEqual(base_tree.path2id('a'), new_tree.path2id('a'))
149
148
        self.assertEqual(base_tree.path2id('b'), new_tree.path2id('b'))
150
149
        self.assertEqual(base_tree.path2id('b/c'), new_tree.path2id('b/c'))
165
164
                             'added d w/ file id from b/d\n',
166
165
                             out)
167
166
 
168
 
        new_tree.read_working_inventory()
169
167
        self.assertEqual(base_tree.path2id('b/c'), new_tree.path2id('c'))
170
168
        self.assertEqual(base_tree.path2id('b/d'), new_tree.path2id('d'))
171
169