~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_status.py

 * The internal storage of history, and logical branch identity have now
   been split into Branch, and Repository. The common locking and file 
   management routines are now in bzrlib.lockablefiles. 
   (Aaron Bentley, Robert Collins, Martin Pool)

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
from bzrlib.merge import merge
32
32
from bzrlib.status import show_status
33
33
from bzrlib.branch import Branch
34
 
from bzrlib.clone import copy_branch
35
34
 
36
35
class BranchStatus(TestCaseInTempDir):
37
36
    
111
110
        mkdir("./branch")
112
111
        b = Branch.initialize('./branch')
113
112
        b.working_tree().commit("Empty commit 1")
114
 
        b_2 = copy_branch(b, './copy')
 
113
        b_2 = b.clone('./copy')
115
114
        b.working_tree().commit(u"\N{TIBETAN DIGIT TWO} Empty commit 2")
116
115
        merge(["./branch", -1], [None, None], this_dir = './copy')
117
116
        message = self.status_string(b_2)