/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/help_topics/en/debug-flags.txt

  • Committer: Vincent Ladeuil
  • Date: 2012-01-18 14:09:19 UTC
  • mto: This revision was merged to the branch mainline in revision 6468.
  • Revision ID: v.ladeuil+lp@free.fr-20120118140919-rlvdrhpc0nq1lbwi
Change set/remove to require a lock for the branch config files.

This means that tests (or any plugin for that matter) do not requires an
explicit lock on the branch anymore to change a single option. This also
means the optimisation becomes "opt-in" and as such won't be as
spectacular as it may be and/or harder to get right (nothing fails
anymore).

This reduces the diff by ~300 lines.

Code/tests that were updating more than one config option is still taking
a lock to at least avoid some IOs and demonstrate the benefits through
the decreased number of hpss calls.

The duplication between BranchStack and BranchOnlyStack will be removed
once the same sharing is in place for local config files, at which point
the Stack class itself may be able to host the changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Debug Flags
 
2
===========
 
3
 
 
4
These flags can be passed on the bzr command line or (without the ``-D``
 
5
prefix) put in the ``debug_flags`` variable in ``bazaar.conf``.
 
6
 
 
7
-Dauth            Trace authentication sections used.
 
8
-Dbytes           Print out how many bytes were transferred
 
9
-Ddirstate        Trace dirstate activity (verbose!)
 
10
-Derror           Instead of normal error handling, always print a traceback
 
11
                  on error.
 
12
-Devil            Capture call sites that do expensive or badly-scaling
 
13
                  operations.
 
14
-Dfetch           Trace history copying between repositories.
 
15
-Dfilters         Emit information for debugging content filtering.
 
16
-Dforceinvdeltas  Force use of inventory deltas during generic streaming fetch.
 
17
-Dgraph           Trace graph traversal.
 
18
-Dhashcache       Log every time a working file is read to determine its hash.
 
19
-Dhooks           Trace hook execution.
 
20
-Dhpss            Trace smart protocol requests and responses.
 
21
-Dhpssdetail      More hpss details.
 
22
-Dhpssvfs         Traceback on vfs access to Remote objects.
 
23
-Dhttp            Trace http connections, requests and responses.
 
24
-Dindex           Trace major index operations.
 
25
-Dknit            Trace knit operations.
 
26
-Dlock            Trace when lockdir locks are taken or released.
 
27
-Dnoretry         If a connection is reset, fail immediately rather than
 
28
                  retrying the request.
 
29
-Dprogress        Trace progress bar operations.
 
30
-Dmem_dump        Dump memory to a file upon an out of memory error.
 
31
-Dmerge           Emit information for debugging merges.
 
32
-Dno_apport       Don't use apport to report crashes.
 
33
-Dno_activity     Don't show transport activity indicator in progress bar.
 
34
-Dpack            Emit information about pack operations.
 
35
-Drelock          Emit a message every time a branch or repository object is
 
36
                  unlocked then relocked the same way.
 
37
-Dsftp            Trace SFTP internals.
 
38
-Dstatic_tuple    Error when a tuple is used where a StaticTuple is expected
 
39
-Dstream          Trace fetch streams.
 
40
-Dstrict_locks    Trace when OS locks are potentially used in a non-portable
 
41
                  manner.
 
42
-Dunlock          Some errors during unlock are treated as warnings.
 
43
-DIDS_never       Never use InterDifferingSerializer when fetching.
 
44
-DIDS_always      Always use InterDifferingSerializer to fetch if appropriate
 
45
                  for the format, even for non-local fetches.