99
99
def test_switch_with_revision(self):
100
100
"""Test switch when a revision is given."""
101
101
# Create a tree with 2 revisions
103
106
self.build_tree(['branch-1/file-2'])
106
109
# Check it out and switch to revision 1
107
110
checkout = tree.branch.create_checkout('checkout',
108
111
lightweight=self.lightweight)