~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_revisionnamespaces.py

  • Committer: Andrew Bennetts
  • Date: 2008-02-07 03:47:24 UTC
  • mfrom: (3218 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3220.
  • Revision ID: andrew.bennetts@canonical.com-20080207034724-p3zhr7zp9kow4nax
Merge from bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
350
350
    
351
351
    def make_branch_and_tree(self, relpath):
352
352
        # override format as the default one may not support tags
353
 
        control = bzrdir.BzrDir.create(relpath)
354
 
        control.create_repository()
355
 
        branch.BzrBranchExperimental.initialize(control)
356
 
        return control.create_workingtree()
 
353
        return TestRevisionSpec.make_branch_and_tree(
 
354
            self, relpath, format='dirstate-tags')
357
355
 
358
356
    def test_from_string_tag(self):
359
357
        spec = RevisionSpec.from_string('tag:bzr-0.14')