~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_info.py

Merge with bzr.dev after 0.8 release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
129
129
 
130
130
        # Branch and bind to standalone, needs upgrade to metadir
131
131
        # (creates backup as unknown)
132
 
        branch3 = branch1.bzrdir.sprout('bound').open_branch()
133
 
        bzrlib.upgrade.upgrade('bound', bzrlib.bzrdir.BzrDirMetaFormat1())
 
132
        # XXX: I can't get this to work through API
 
133
        self.runbzr('branch standalone bound')
 
134
        #branch3 = branch1.bzrdir.sprout('bound').open_branch()
 
135
        self.runbzr('upgrade --format=metaweave bound')
 
136
        #bzrlib.upgrade.upgrade('bound', bzrlib.bzrdir.BzrDirMetaFormat1())
134
137
        branch3 = bzrlib.bzrdir.BzrDir.open('bound').open_branch()
135
138
        branch3.bind(branch1)
136
139
        out, err = self.runbzr('info bound')