~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-06 22:44:57 UTC
  • mfrom: (6436 +trunk)
  • mto: (6437.3.11 2.5)
  • mto: This revision was merged to the branch mainline in revision 6444.
  • Revision ID: jelmer@samba.org-20120106224457-re0pcy0fz31xob77
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'))