/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar
1534.4.38 by Robert Collins
Start a branch api document.
1
The Branch API in bzrlib provides creation and management of Branches.
2
3
A Branch represents a series of commits and merges carried out by a user.
4
1534.4.41 by Robert Collins
Branch now uses BzrDir reasonably sanely.
5
Branches are created by BzrDir's:
1534.4.38 by Robert Collins
Start a branch api document.
6
1534.4.41 by Robert Collins
Branch now uses BzrDir reasonably sanely.
7
   >>> from bzrlib.bzrdir import ScratchDir
1534.4.38 by Robert Collins
Start a branch api document.
8
   >>> from bzrlib.branch import Branch
1534.4.41 by Robert Collins
Branch now uses BzrDir reasonably sanely.
9
   >>> dir = ScratchDir()
10
   >>> new_branch = dir.create_branch()
11
12
13
Existing Branches can be opened directly:
14
15
   >>> another_instance = Branch.open(dir.transport.clone('..').base)
16
17
or via the BzrDir:
18
19
   >>> still_the_same_branch = dir.open_branch()
20
1534.4.38 by Robert Collins
Start a branch api document.
21
22
A branch has a history of revisions on it:
23
24
   >>> new_branch.revision_history()
25
   []
26
27
28
We need to write some more documentation, showing
29
push and pull operations. Cloning might also be nice.