/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to doc/library-interface.txt

  • Committer: Robert Collins
  • Date: 2005-10-17 22:31:39 UTC
  • mto: This revision was merged to the branch mainline in revision 1462.
  • Revision ID: robertc@robertcollins.net-20051017223139-63e850d7069466d6
Remove self.lock_*...finally: self.unlock() dead chickens from branch.py.

Two decorators, needs_read_lock and needs_write_lock have been added
to the branch module. Use these to cause a function to run in a
read or write lock respectively.

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.