~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_revision.py

 * Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
   behaviour. They use the existing serverless-mode and store no data
   locally. As such they are not suitable for use except in high bandwidth
   low latency environments like LAN's or local disk. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
145
145
        from bzrlib.commit import commit
146
146
        TestCaseWithTransport.setUp(self)
147
147
        self.br1, self.br2 = make_branches(self)
148
 
        wt1 = WorkingTree(self.br1.base, self.br1)
149
 
        wt2 = WorkingTree(self.br2.base, self.br2)
 
148
        wt1 = self.br1.bzrdir.open_workingtree()
 
149
        wt2 = self.br2.bzrdir.open_workingtree()
150
150
        wt2.commit("Commit eleven", rev_id="b@u-0-7")
151
151
        wt2.commit("Commit twelve", rev_id="b@u-0-8")
152
152
        wt2.commit("Commit thirtteen", rev_id="b@u-0-9")