~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/developers/code-style.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:
396
396
The lines beginning with ';' are comments. They can be activated
397
397
if one want to have a strong notice of some tab/space usage
398
398
violations.
 
399
 
 
400
Portability Tips
 
401
================
 
402
 
 
403
The ``bzrlib.osutils`` module has many useful helper functions, including
 
404
some more portable variants of functions in the standard library.
 
405
 
 
406
In particular, don't use ``shutil.rmtree`` unless it's acceptable for it
 
407
to fail on Windows if some files are readonly or still open elsewhere.
 
408
Use ``bzrlib.osutils.rmtree`` instead.
 
409
 
 
410
 
 
411
 
 
412
..
 
413
   vim: ft=rst tw=74 ai