/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 bzrlib/debug.py

  • Committer: Richard Wilbur
  • Date: 2016-02-04 19:07:28 UTC
  • mto: This revision was merged to the branch mainline in revision 6618.
  • Revision ID: richard.wilbur@gmail.com-20160204190728-p0zvfii6zase0fw7
Update COPYING.txt from the original http://www.gnu.org/licenses/gpl-2.0.txt  (Only differences were in whitespace.)  Thanks to Petr Stodulka for pointing out the discrepancy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
"""Set of flags that enable different debug behaviour.
18
18
 
19
19
These are set with eg ``-Dlock`` on the bzr command line or in
20
 
~/.config/breezy/breezy.conf debug_flags.
 
20
~/.bazaar/bazaar.conf debug_flags.
21
21
 
22
 
See `bzr help debug-flags` or `breezy/help_topics/en/debug-flags.txt`
 
22
See `bzr help debug-flags` or `bzrlib/help_topics/en/debug-flags.txt`
23
23
for a list of the available options.
24
24
"""
25
25
 
31
31
def set_debug_flags_from_config():
32
32
    """Turn on debug flags based on the global configuration"""
33
33
 
34
 
    from breezy import config
 
34
    from bzrlib import config
35
35
 
36
36
    c = config.GlobalStack()
37
37
    for f in c.get('debug_flags'):
51
51
 
52
52
    you can do:
53
53
 
54
 
       from breezy import debug; debug.set_trace()
 
54
       from bzrlib import debug; debug.set_trace()
55
55
    """
56
56
    import pdb
57
57
    import sys