~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Jelmer Vernooij
  • Date: 2012-01-10 21:43:46 UTC
  • mfrom: (6437 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6464.
  • Revision ID: jelmer@samba.org-20120110214346-e5ltuiso17zkm6y7
merge bzr.dev.

Show diffs side-by-side

added added

removed removed

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