~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/help_topics/en/configuration.txt

  • Committer: Ross Lagerwall
  • Date: 2012-08-07 06:32:51 UTC
  • mto: (6437.63.5 2.5)
  • mto: This revision was merged to the branch mainline in revision 6558.
  • Revision ID: rosslagerwall@gmail.com-20120807063251-x9p03ghg2ws8oqjc
Add bzrlib/locale to .bzrignore

bzrlib/locale is generated with ./setup.py build_mo which is in turn called
by ./setup.py build

Show diffs side-by-side

added added

removed removed

Lines of Context:
333
333
itself is defined as the relative path between the section name and the
334
334
location it matches.
335
335
 
336
 
Another such option is ``branchname``, which refers to the name of a colocated
337
 
branch.  For non-colocated branches, it behaves like basename.  It can be used
338
 
like this::
339
 
 
340
 
  [/home/vila/src/bzr/bugs]
341
 
  mypush = lp:~vila/bzr/{branchname}
342
 
 
343
 
When used with a colocated branch named ``832013-expand-in-stack``, we'll get::
344
 
 
345
 
  bzr config mypush
346
 
  lp:~vila/bzr/832013-expand-in-stack
347
 
 
348
336
When an option is local to a Section, it cannot be referred to from option
349
337
values in any other section from the same ``Store`` nor from any other
350
338
``Store``.
713
701
 
714
702
  bzr.mergetool.kdiff3 = kdiff3 {base} {this} {other} -o {result}
715
703
 
716
 
Because ``mergetool`` and ``config`` itself both use curly braces as
717
 
interpolation markers, trying to display the mergetool line results in the
718
 
following problem::
719
 
 
720
 
 
721
 
  $ bzr config bzr.mergetool.kdiff3='kdiff3 {base} {this} {other} -o {result}'
722
 
  $ bzr config bzr.mergetool.kdiff3
723
 
  bzr: ERROR: Option base is not defined while expanding "kdiff3 {base} {this} {other} -o {result}".
724
 
 
725
 
To avoid this, ``config`` can be instructed not to try expanding variables::
726
 
 
727
 
  $ bzr config --all bzr.mergetool.kdiff3
728
 
  branch:
729
 
    bzr.mergetool.kdiff3 = kdiff3 {base} {this} {other} -o {result}
730
 
 
731
 
 
732
704
bzr.default_mergetool
733
705
~~~~~~~~~~~~~~~~~~~~~
734
706