~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/doc/api/branch.txt

  • Committer: Patch Queue Manager
  • Date: 2015-09-30 16:43:21 UTC
  • mfrom: (6603.2.2 fix-keep-dirty)
  • Revision ID: pqm@pqm.ubuntu.com-20150930164321-ct2v2qnmvimqt8qf
(vila) Avoid associating dirty patch headers with the previous file in the
 patch. (Colin Watson)

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
Make a temporary directory for these tests:
6
6
 
7
 
   >>> from bzrlib.osutils import mkdtemp
8
 
   >>> test_dir = mkdtemp(prefix='bzrlib_doc_api_branch_txt_')
 
7
   >>> from bzrlib import osutils
 
8
   >>> test_dir = osutils.mkdtemp(prefix='bzrlib_doc_api_branch_txt_')
9
9
 
10
10
Branches are created by BzrDir's:
11
11
 
25
25
 
26
26
A branch has a history of revisions on it:
27
27
 
28
 
   >>> new_branch.revision_history()
29
 
   []
 
28
   >>> new_branch.last_revision()
 
29
   'null:'
30
30
 
31
31
We need to write some more documentation, showing
32
32
push and pull operations. Cloning might also be nice.