/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_remember_option.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:
15
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
17
 
18
 
from bzrlib import (
 
18
from breezy import (
19
19
    branch,
20
20
    urlutils,
21
21
    )
22
 
from bzrlib.tests import (
 
22
from breezy.tests import (
23
23
    script,
24
24
    )
25
25
 
82
82
    def setUp(self):
83
83
        super(TestSendRemember, self).setUp()
84
84
        self.run_script('''
85
 
            $ bzr init grand_parent
 
85
            $ brz init grand_parent
86
86
            $ cd grand_parent
87
87
            $ echo grand_parent > file
88
 
            $ bzr add
89
 
            $ bzr commit -m 'initial commit'
 
88
            $ brz add
 
89
            $ brz commit -m 'initial commit'
90
90
            $ cd ..
91
 
            $ bzr branch grand_parent parent
 
91
            $ brz branch grand_parent parent
92
92
            $ cd parent
93
93
            $ echo parent > file
94
 
            $ bzr commit -m 'parent'
 
94
            $ brz commit -m 'parent'
95
95
            $ cd ..
96
 
            $ bzr branch parent %(working_dir)s
 
96
            $ brz branch parent %(working_dir)s
97
97
            $ cd %(working_dir)s
98
98
            $ echo %(working_dir)s > file
99
 
            $ bzr commit -m '%(working_dir)s'
 
99
            $ brz commit -m '%(working_dir)s'
100
100
            $ cd ..
101
101
            ''' % {'working_dir': self.working_dir},
102
102
                        null_output_matches_anything=True)
106
106
        self.do_command(*self.first_use_args)
107
107
        # Now create some new targets
108
108
        self.run_script('''
109
 
            $ bzr branch grand_parent new_grand_parent
110
 
            $ bzr branch parent new_parent
 
109
            $ brz branch grand_parent new_grand_parent
 
110
            $ brz branch parent new_parent
111
111
            ''',
112
112
                        null_output_matches_anything=True)
113
113
 
132
132
    def setUp(self):
133
133
        super(TestPushRemember, self).setUp()
134
134
        self.run_script('''
135
 
            $ bzr init %(working_dir)s
 
135
            $ brz init %(working_dir)s
136
136
            $ cd %(working_dir)s
137
137
            $ echo some content > file
138
 
            $ bzr add
139
 
            $ bzr commit -m 'initial commit'
 
138
            $ brz add
 
139
            $ brz commit -m 'initial commit'
140
140
            $ cd ..
141
141
            ''' % {'working_dir': self.working_dir},
142
142
                        null_output_matches_anything=True)
148
148
        self.run_script('''
149
149
            $ cd %(working_dir)s
150
150
            $ echo new content > file
151
 
            $ bzr commit -m 'new content'
 
151
            $ brz commit -m 'new content'
152
152
            $ cd ..
153
153
            ''' % {'working_dir': self.working_dir},
154
154
                        null_output_matches_anything=True)
175
175
    def setUp(self):
176
176
        super(TestPullRemember, self).setUp()
177
177
        self.run_script('''
178
 
            $ bzr init parent
 
178
            $ brz init parent
179
179
            $ cd parent
180
180
            $ echo parent > file
181
 
            $ bzr add
182
 
            $ bzr commit -m 'initial commit'
 
181
            $ brz add
 
182
            $ brz commit -m 'initial commit'
183
183
            $ cd ..
184
 
            $ bzr init %(working_dir)s
 
184
            $ brz init %(working_dir)s
185
185
            ''' % {'working_dir': self.working_dir},
186
186
                        null_output_matches_anything=True)
187
187
 
190
190
        self.do_command(*self.first_use_args)
191
191
        # Now create some new content
192
192
        self.run_script('''
193
 
            $ bzr branch parent new_parent
 
193
            $ brz branch parent new_parent
194
194
            $ cd new_parent
195
195
            $ echo new parent > file
196
 
            $ bzr commit -m 'new parent'
 
196
            $ brz commit -m 'new parent'
197
197
            $ cd ..
198
198
            ''' % {'working_dir': self.working_dir},
199
199
                        null_output_matches_anything=True)