~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to HACKING

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-04-12 09:32:42 UTC
  • mfrom: (2405.2.2 HACKING-portability)
  • Revision ID: pqm@pqm.ubuntu.com-20070412093242-8r2pilxsjtxs46dj
(Andrew Bennetts) Add a brief Portability section to HACKING, build HACKING.htm from 'make docs'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
589
589
valid characters are generated where possible.
590
590
 
591
591
 
 
592
Portability Tips
 
593
================
 
594
 
 
595
The ``bzrlib.osutils`` module has many useful helper functions, including
 
596
some more portable variants of functions in the standard library.
 
597
 
 
598
In particular, don't use ``shutil.rmtree`` unless it's acceptable for it
 
599
to fail on Windows if some files are readonly or still open elsewhere.
 
600
Use ``bzrlib.osutils.rmtree`` instead.
 
601
 
 
602
 
592
603
Merge/review process
593
604
====================
594
605