~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/library-interface.txt

  • Committer: Robert Collins
  • Date: 2005-10-30 23:58:46 UTC
  • Revision ID: robertc@robertcollins.net-20051030235846-fda8b626748cce52
Move Branch.read_working_inventory to WorkingTree.

Branch.read_working_inventory has moved to
WorkingTree.read_working_inventory. This necessitated changes to
Branch.get_root_id, and a move of Branch.set_inventory to WorkingTree
as well. To make it clear that a WorkingTree cannot always be obtained
Branch.working_tree() will raise 'errors.NoWorkingTree' if one cannot
be obtained. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
*****************
 
2
Library interface
 
3
*****************
 
4
 
 
5
Should have a pleasant library interface.
 
6
 
 
7
* Be clear what is supposed to be in a stable public interface and
 
8
  what is not.  (A common failing of Python programs.)
 
9
 
 
10
* If a function changes the working directory (as may be necessary to
 
11
  run patch) it should restore it.