~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/developers/implementation-notes.txt

  • Committer: James Westby
  • Date: 2008-02-25 23:41:06 UTC
  • mto: This revision was merged to the branch mainline in revision 3246.
  • Revision ID: jw+debian@jameswestby.net-20080225234106-9b4ql42w13ijewp3
Make version-info --custom imply --all.

When using a custom template you can use variables like {clean} which
are not enabled by default. This causes an ugly traceback.

This fixes the issue by implying --all when --custom (or more exactly
--template) is used, so that all variables are available in templates.

This was the easier fix than having the template code report that the
user should pass --check-clean to have {clean} available, but will
have a performance impact on all users of version-info --custom,
regardless of whether they use {clean}.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Implementation notes
2
 
====================
3
 
 
4
 
.. toctree::
5
 
   :hidden:
6
 
 
7
 
   btree_index_prefetch
8
 
   last-modified
9
 
   content-filtering
10
 
   lca_tree_merging
11
 
 
12
 
 
13
 
* `BTree Index Prefetch <btree_index_prefetch.html>`_ |--| How bzr decides
14
 
  to pre-read extra nodes in the btree index.
15
 
 
16
 
* `Computing last_modified values <last-modified.html>`_ for inventory
17
 
  entries
18
 
 
19
 
* `Content filtering <content-filtering.html>`_
20
 
 
21
 
* `LCA Tree Merging <lca_tree_merging.html>`_ |--| Merging tree-shape when
22
 
  there is not a single unique ancestor (criss-cross merge).
23
 
 
24
 
 
25
 
.. |--| unicode:: U+2014
26
 
 
27
 
..
28
 
   vim: ft=rst tw=74 ai