~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-06-28 07:08:27 UTC
  • mfrom: (2553.1.3 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20070628070827-h5s313dg5tnag9vj
(robertc) Show the names of commit hooks during commit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
        wt = self.make_branch_and_tree('a')
28
28
        wt.add(['b', 'b/c'])
29
29
        wt.commit('rev1')
30
 
        self.run_bzr('split a/b')
31
 
        self.run_bzr_error(('.* is not versioned',), 'split q')
 
30
        self.run_bzr('split', 'a/b')
 
31
        self.run_bzr_error(('.* is not versioned',), 'split', 'q')
32
32
 
33
33
    def test_split_repo_failure(self):
34
34
        repo = self.make_repository('branch', shared=True, format='knit')
37
37
        wt = a_branch.create_checkout('a', lightweight=True)
38
38
        wt.add(['b', 'b/c', 'b/c/d'], ['b-id', 'c-id', 'd-id'])
39
39
        wt.commit('added files')
40
 
        self.run_bzr_error(('must upgrade your branch at .*a',), 'split a/b')
 
40
        self.run_bzr_error(('must upgrade your branch at .*a',), 'split', 
 
41
                            'a/b')