~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_controldir/test_controldir.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-08-12 16:12:23 UTC
  • mfrom: (6060.2.1 trunk)
  • Revision ID: pqm@pqm.ubuntu.com-20110812161223-hfvwsgbtb9vype5r
(vila) Merge 2.4 into trunk (Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
690
690
            source.tags.set_tag('tag-a', 'rev-2')
691
691
        except errors.TagsNotSupported:
692
692
            raise TestNotApplicable('Branch format does not support tags.')
 
693
        source.get_config().set_user_option('branch.fetch_tags', 'True')
693
694
        # Now source has a tag not in its ancestry.  Sprout its controldir.
694
695
        dir = source.bzrdir
695
696
        target = dir.sprout(self.get_url('target'))
761
762
            source.tags.set_tag('tag-absent', 'absent-rev')
762
763
        except errors.TagsNotSupported:
763
764
            raise TestNotApplicable('Branch format does not support tags.')
 
765
        source.get_config().set_user_option('branch.fetch_tags', 'True')
764
766
        # And ask sprout for C2
765
767
        dir = source.bzrdir
766
768
        target = dir.sprout(self.get_url('target'), revision_id='rev-c2')