~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_controldir/test_controldir.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:
746
746
            source.tags.set_tag('tag-a', 'rev-2')
747
747
        except errors.TagsNotSupported:
748
748
            raise TestNotApplicable('Branch format does not support tags.')
749
 
        source.get_config().set_user_option('branch.fetch_tags', 'True')
 
749
        source.get_config_stack().set('branch.fetch_tags', True)
750
750
        # Now source has a tag not in its ancestry.  Sprout its controldir.
751
751
        dir = source.bzrdir
752
752
        target = dir.sprout(self.get_url('target'))
825
825
            has_ghost_tag = False
826
826
        else:
827
827
            has_ghost_tag = True
828
 
        source.get_config().set_user_option('branch.fetch_tags', 'True')
 
828
        source.get_config_stack().set('branch.fetch_tags', True)
829
829
        # And ask sprout for C2
830
830
        dir = source.bzrdir
831
831
        target = dir.sprout(self.get_url('target'), revision_id='rev-c2')