~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_branch/test_pull.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
156
156
        except errors.TagsNotSupported:
157
157
            raise TestNotApplicable('format does not support tags.')
158
158
        source.tags.set_tag('tag-a', 'rev-2')
 
159
        source.get_config().set_user_option('branch.fetch_tags', 'True')
159
160
        target.pull(source)
160
161
        # The tag is present, and so is its revision.
161
162
        self.assertEqual('rev-2', target.tags.lookup_tag('tag-a'))
177
178
            source.tags.set_tag('tag-a', 'rev-2')
178
179
        except errors.TagsNotSupported:
179
180
            raise TestNotApplicable('format does not support tags.')
 
181
        source.get_config().set_user_option('branch.fetch_tags', 'True')
180
182
        target.pull(source, 'rev-2-again')
181
183
        # The tag is present, and so is its revision.
182
184
        self.assertEqual('rev-2', target.tags.lookup_tag('tag-a'))