~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_workingtree/test_commit.py

  • Committer: John Arbash Meinel
  • Date: 2013-05-19 14:29:37 UTC
  • mfrom: (6437.63.9 2.5)
  • mto: (6437.63.10 2.5)
  • mto: This revision was merged to the branch mainline in revision 6575.
  • Revision ID: john@arbash-meinel.com-20130519142937-21ykz2n2y2f22za9
Merge in the actual 2.5 branch. It seems I failed before

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
    osutils,
27
27
    revision as _mod_revision,
28
28
    tests,
 
29
    transport as _mod_transport,
29
30
    ui,
30
31
    )
31
32
from bzrlib.tests.per_workingtree import TestCaseWithWorkingTree
316
317
        wt.lock_write()
317
318
        self.build_tree(['a', 'b/', 'b/c', 'd'])
318
319
        wt.add(['a', 'b', 'b/c', 'd'], ['a-id', 'b-id', 'c-id', 'd-id'])
319
 
        this_dir = self.get_transport()
 
320
        this_dir = wt.bzrdir.root_transport
320
321
        this_dir.delete_tree('b')
321
322
        this_dir.delete('d')
322
323
        # now we have a tree with a through d in the inventory, but only
352
353
        wt.add(['a', 'b', 'b/c'], ['a-id', 'b-id', 'c-id'])
353
354
        wt.commit('first')
354
355
        wt.remove('b/c')
355
 
        this_dir = self.get_transport()
 
356
        this_dir = wt.bzrdir.root_transport
356
357
        this_dir.delete_tree('b')
357
358
        wt.lock_write()
358
359
        wt.commit('commit deleted rename')