2095.5.2
by Martin Pool
save commit message if commit fails (#32054) |
1 |
# Copyright (C) 2005, 2006 Canonical Ltd
|
2 |
#
|
|
3 |
# This program is free software; you can redistribute it and/or modify
|
|
4 |
# it under the terms of the GNU General Public License as published by
|
|
5 |
# the Free Software Foundation; either version 2 of the License, or
|
|
6 |
# (at your option) any later version.
|
|
7 |
#
|
|
8 |
# This program is distributed in the hope that it will be useful,
|
|
9 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
10 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
11 |
# GNU General Public License for more details.
|
|
12 |
#
|
|
13 |
# You should have received a copy of the GNU General Public License
|
|
14 |
# along with this program; if not, write to the Free Software
|
|
15 |
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
16 |
||
17 |
||
2749.2.1
by Ian Clatworthy
(Ian Clatworthy)(trivial) Add comment to debug.py re keeping global-options help in sync. |
18 |
# NOTE: If update these, please also update the help for global-options in
|
3170.1.1
by Andrew Bennetts
Add -Dtimes, which adds a timestamp to mutters (using the time since the first mutter). |
19 |
# bzrlib/help_topics/__init__.py
|
2749.2.1
by Ian Clatworthy
(Ian Clatworthy)(trivial) Add comment to debug.py re keeping global-options help in sync. |
20 |
|
2095.5.2
by Martin Pool
save commit message if commit fails (#32054) |
21 |
debug_flags = set() |
2555.3.22
by Martin Pool
hook docs |
22 |
"""Set of flags that enable different debug behaviour.
|
23 |
||
24 |
These are set with eg ``-Dlock`` on the bzr command line.
|
|
25 |
||
26 |
Options include:
|
|
2725.1.1
by Robert Collins
Add -Devil flag to highlight the use of problematic API calls. |
27 |
|
2900.2.10
by Vincent Ladeuil
Add -Dauth handling. |
28 |
* auth - show authentication sections used
|
29 |
* error - show stack traces for all top level exceptions
|
|
2725.1.1
by Robert Collins
Add -Devil flag to highlight the use of problematic API calls. |
30 |
* evil - capture call sites that do expensive or badly-scaling operations.
|
2592.3.91
by Robert Collins
Incrementally closing in on a correct fetch for packs. |
31 |
* fetch - trace history copying between repositories
|
3170.1.1
by Andrew Bennetts
Add -Dtimes, which adds a timestamp to mutters (using the time since the first mutter). |
32 |
* hashcache - log every time a working file is read to determine its hash
|
2749.2.1
by Ian Clatworthy
(Ian Clatworthy)(trivial) Add comment to debug.py re keeping global-options help in sync. |
33 |
* hooks - trace hook execution
|
2593.3.1
by Andrew Bennetts
Add a -Dhpss debug flag. |
34 |
* hpss - trace smart protocol requests and responses
|
3052.3.4
by Vincent Ladeuil
Jam's review feeback. |
35 |
* http - trace http connections, requests and responses
|
2624.2.15
by Robert Collins
Add useful -Dindex flag. |
36 |
* index - trace major index operations
|
3172.2.1
by Andrew Bennetts
Enable use of smart revision streaming between repos with compatible models, not just between identical format repos. |
37 |
* knit - trace knit operations
|
2555.3.22
by Martin Pool
hook docs |
38 |
* lock - trace when lockdir locks are taken or released
|
1551.19.17
by Aaron Bentley
Add debugging flag for merges |
39 |
* merge - emit information for debugging merges
|
3231.4.1
by James Westby
Add pack to the list of debug flags. |
40 |
* pack - emit information about pack operations
|
3302.2.1
by Andrew Bennetts
Add -Dselftest_debug debug flag. |
41 |
* selftest_debug - do not disable all debug flags when running selftest
|
2555.3.22
by Martin Pool
hook docs |
42 |
|
43 |
"""
|