165
168
builder = self.make_branch_builder('source')
166
169
except errors.UninitializableFormat:
167
170
raise TestNotApplicable('uninitializeable format')
170
172
target = source.bzrdir.sprout('target').open_branch()
172
173
# Add a new commit to the ancestry
173
174
builder.build_commit(message="Rev 2 again", rev_id='rev-2-again')
175
180
target.pull(source, 'rev-2-again')
176
181
# The tag is present, and so is its revision.
177
182
self.assertEqual('rev-2', target.tags.lookup_tag('tag-a'))