93
93
self.assertEqual('w', tree.branch._lock_mode)
95
95
self.assertEqual(None, tree.branch._lock_count)
98
98
self.build_tree(['from/', 'from/file', 'to/'])
99
99
br_a = Branch.initialize('from')
101
101
br_a.commit('foo', rev_id='A')
102
102
br_b = Branch.initialize('to')
103
107
br_b.working_tree().pull(br_a)
104
108
self.failUnless(br_b.has_revision('A'))
105
109
self.assertEqual(['A'], br_b.revision_history())