~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/developers/HACKING.txt

  • Committer: Martin Pool
  • Date: 2010-05-16 09:29:44 UTC
  • mto: This revision was merged to the branch mainline in revision 5252.
  • Revision ID: mbp@canonical.com-20100516092944-47m8wwrkgpc8iapj
More reorganization of the developer documentation

Show diffs side-by-side

added added

removed removed

Lines of Context:
782
782
valid characters are generated where possible.
783
783
 
784
784
 
785
 
Portability Tips
786
 
================
787
 
 
788
 
The ``bzrlib.osutils`` module has many useful helper functions, including
789
 
some more portable variants of functions in the standard library.
790
 
 
791
 
In particular, don't use ``shutil.rmtree`` unless it's acceptable for it
792
 
to fail on Windows if some files are readonly or still open elsewhere.
793
 
Use ``bzrlib.osutils.rmtree`` instead.
794
 
 
795
 
 
796
785
C Extension Modules
797
786
===================
798
787