1
The Branch API in bzrlib provides creation and management of Branches.
3
A Branch represents a series of commits and merges carried out by a user.
5
Branches are created at urls or file paths:
7
>>> from tempfile import mkdtemp
8
>>> from bzrlib.branch import Branch
9
>>> branchdir = mkdtemp()
10
>>> new_branch = Branch.create(branchdir)
12
A branch has a history of revisions on it:
14
>>> new_branch.revision_history()
18
We need to write some more documentation, showing
19
push and pull operations. Cloning might also be nice.