~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/testbranch.py

  • Committer: John Arbash Meinel
  • Date: 2005-09-18 16:09:41 UTC
  • mto: (1185.1.32)
  • mto: This revision was merged to the branch mainline in revision 1390.
  • Revision ID: john@arbash-meinel.com-20050918160940-ab133a1f31616576
Added test cases for handling bogus files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
    """Test appending more than one revision"""
22
22
    def test_append_revisions(self):
23
23
        from bzrlib.branch import Branch
24
 
        br = Branch(".", init=True)
 
24
        br = Branch.initialize(".")
25
25
        br.append_revision("rev1")
26
26
        self.assertEquals(br.revision_history(), ["rev1",])
27
27
        br.append_revision("rev2", "rev3")