155
155
except errors.TagsNotSupported:
156
156
raise TestNotApplicable('format does not support tags.')
157
157
source.tags.set_tag('tag-a', 'rev-2')
160
160
# The tag is present, and so is its revision.
161
161
self.assertEqual('rev-2', target.tags.lookup_tag('tag-a'))