~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/developers/feature-flags.txt

  • Committer: Jelmer Vernooij
  • Date: 2011-12-24 12:51:20 UTC
  • mto: This revision was merged to the branch mainline in revision 6408.
  • Revision ID: jelmer@samba.org-20111224125120-0cyozj3fb7loj81b
Some documentation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
129
129
 * BzrFormat.features.set(name, necessity)
130
130
 * BzrFormat.features.get(name) -> necessity
131
131
 
 
132
Enabling features
 
133
-----------------
 
134
 
 
135
Features are enabled through the ``update_feature_flags`` method on
 
136
``Repository``, ``Branch``, ``WorkingTree`` and ``BzrDir``.
 
137
 
 
138
These methods are called by whatever needs to enable features.
 
139
When they do that is up to them - e.g. bzr-search would enable its
 
140
feature when ``bzr index`` is first run.
 
141
 
132
142
See also
133
143
--------
134
144