17
17
from bzrlib.selftest import InTempDir
21
20
class TestAppendRevisions(InTempDir):
22
21
"""Test appending more than one revision"""
24
23
from bzrlib.branch import Branch
25
24
br = Branch(".", init=True)
26
25
br.append_revision("rev1")
27
26
self.assertEquals(br.revision_history(), ["rev1",])
28
27
br.append_revision("rev2", "rev3")
29
28
self.assertEquals(br.revision_history(), ["rev1", "rev2", "rev3"])