17
17
from bzrlib.selftest import InTempDir
20
21
class TestAppendRevisions(InTempDir):
21
22
"""Test appending more than one revision"""
23
24
from bzrlib.branch import Branch
24
25
br = Branch(".", init=True)
25
26
br.append_revision("rev1")
26
27
self.assertEquals(br.revision_history(), ["rev1",])
27
28
br.append_revision("rev2", "rev3")
28
29
self.assertEquals(br.revision_history(), ["rev1", "rev2", "rev3"])
37
# >>> commit(br1, "lala!", rev_id="REVISION-ID-1", verbose=False)