/breezy/unstable

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy/unstable

« back to all changes in this revision

Viewing changes to breezy/tests/blackbox/test_reconfigure.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-24 01:39:33 UTC
  • mfrom: (3815.3776.6)
  • Revision ID: jelmer@jelmer.uk-20170524013933-ir4y4tqtrsiz2ka2
New upstream snapshot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
 
from bzrlib import (
 
17
from breezy import (
18
18
    controldir,
19
19
    errors,
20
20
    tests,
21
21
    workingtree,
22
22
    )
23
 
from bzrlib.tests.script import TestCaseWithTransportAndScript
 
23
from breezy.tests.script import TestCaseWithTransportAndScript
24
24
 
25
25
 
26
26
class TestReconfigure(TestCaseWithTransportAndScript):
186
186
 
187
187
    def test_branch_and_use_shared(self):
188
188
        self.run_script("""\
189
 
$ bzr init -q branch
 
189
$ brz init -q branch
190
190
$ echo foo > branch/foo
191
 
$ bzr add -q branch/foo
192
 
$ bzr commit -q -m msg branch
193
 
$ bzr init-repo -q .
194
 
$ bzr reconfigure --branch --use-shared branch
195
 
$ bzr info branch
 
191
$ brz add -q branch/foo
 
192
$ brz commit -q -m msg branch
 
193
$ brz init-repo -q .
 
194
$ brz reconfigure --branch --use-shared branch
 
195
$ brz info branch
196
196
Repository branch (format: ...)
197
197
Location:
198
198
  shared repository: .
201
201
 
202
202
    def test_use_shared_and_branch(self):
203
203
        self.run_script("""\
204
 
$ bzr init -q branch
 
204
$ brz init -q branch
205
205
$ echo foo > branch/foo
206
 
$ bzr add -q branch/foo
207
 
$ bzr commit -q -m msg branch
208
 
$ bzr init-repo -q .
209
 
$ bzr reconfigure --use-shared --branch branch
210
 
$ bzr info branch
 
206
$ brz add -q branch/foo
 
207
$ brz commit -q -m msg branch
 
208
$ brz init-repo -q .
 
209
$ brz reconfigure --use-shared --branch branch
 
210
$ brz info branch
211
211
Repository branch (format: ...)
212
212
Location:
213
213
  shared repository: .