Rev 6085: Update HACKING.txt. in file:///home/vila/src/bzr/bugs/412201-mv-case-insensitive/

Vincent Ladeuil v.ladeuil+lp at free.fr
Fri Aug 19 16:55:28 UTC 2011


At file:///home/vila/src/bzr/bugs/412201-mv-case-insensitive/

------------------------------------------------------------
revno: 6085
revision-id: v.ladeuil+lp at free.fr-20110819165528-ikoyfp76ww3welpa
parent: v.ladeuil+lp at free.fr-20110819163925-zysfy8is99v65weg
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: 412201-mv-case-insensitive
timestamp: Fri 2011-08-19 18:55:28 +0200
message:
  Update HACKING.txt.
-------------- next part --------------
=== modified file 'doc/developers/HACKING.txt'
--- a/doc/developers/HACKING.txt	2011-06-06 08:24:45 +0000
+++ b/doc/developers/HACKING.txt	2011-08-19 16:55:28 +0000
@@ -436,6 +436,12 @@
 be disabled if necessary by setting the environment variable
 ``BZR_SIGQUIT_PDB=0``.
 
+All tests inheriting from bzrlib.tests.TestCase can use ``self.debug()``
+instead of the longer ``import pdb; pdb.set_trace()``. The former also works
+when ``stdin/stdout`` are redirected (by using the original ``stdin/stdout``
+file handles at the start of the ``bzr`` script) while the later doesn't.
+``bzrlib.debug.set_trace()`` also uses the original ``stdin/stdout`` file
+handles.
 
 Debug Flags
 ===========



More information about the bazaar-commits mailing list