~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
        """Tests 'revision_history' command with a location that is a
53
53
        repository branch."""
54
54
        self._build_branch()
55
 
        self.run_bzr('init-repo', 'repo')
56
 
        self.run_bzr('branch', 'test', 'repo/test')
 
55
        self.run_bzr('init-repo repo')
 
56
        self.run_bzr('branch test repo/test')
57
57
        self._check_revision_history('repo/test')
58
58
 
59
59
    def test_revision_history_with_checkout(self):
60
60
        """Tests 'revision_history' command with a location that is a
61
61
        checkout of a repository branch."""
62
62
        self._build_branch()
63
 
        self.run_bzr('init-repo', 'repo')
64
 
        self.run_bzr('branch', 'test', 'repo/test')
65
 
        self.run_bzr('checkout', 'repo/test', 'test-checkout')
 
63
        self.run_bzr('init-repo repo')
 
64
        self.run_bzr('branch test repo/test')
 
65
        self.run_bzr('checkout repo/test test-checkout')
66
66
        self._check_revision_history('test-checkout')
67
67
 
68
68
    def test_revision_history_with_lightweight_checkout(self):
69
69
        """Tests 'revision_history' command with a location that is a
70
70
        lightweight checkout of a repository branch."""
71
71
        self._build_branch()
72
 
        self.run_bzr('init-repo', 'repo')
73
 
        self.run_bzr('branch', 'test', 'repo/test')
74
 
        self.run_bzr('checkout', '--lightweight', 'repo/test', 'test-checkout')
 
72
        self.run_bzr('init-repo repo')
 
73
        self.run_bzr('branch test repo/test')
 
74
        self.run_bzr('checkout --lightweight repo/test test-checkout')
75
75
        self._check_revision_history('test-checkout')