~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/help_topics/__init__.py

  • Committer: Jelmer Vernooij
  • Date: 2009-01-28 15:28:13 UTC
  • mto: This revision was merged to the branch mainline in revision 3968.
  • Revision ID: jelmer@samba.org-20090128152813-15xt6nhb9s8e1kmp
Register revision specifiers in a registry.

Show diffs side-by-side

added added

removed removed

Lines of Context:
179
179
 
180
180
    # The help text is indented 4 spaces - this re cleans that up below
181
181
    indent_re = re.compile(r'^    ', re.MULTILINE)
182
 
    for i in bzrlib.revisionspec.SPEC_TYPES:
 
182
    for prefix, i in bzrlib.revisionspec.revspec_registry.iteritems():
183
183
        doc = i.help_txt
184
184
        if doc == bzrlib.revisionspec.RevisionSpec.help_txt:
185
185
            summary = "N/A"