120
120
"""Test fetch-revision operation."""
121
121
wt = self.make_branch_and_tree('b1')
125
124
wt.add(['foo'], ['foo-id'])
126
125
wt.commit('lala!', rev_id='revision-1', allow_pointless=False)
129
128
self.assertEqual((1, []), b2.fetch(b1))
131
130
rev = b2.repository.get_revision('revision-1')