/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/__init__.py

remove all trailing whitespace from bzr source

Show diffs side-by-side

added added

removed removed

Lines of Context:
126
126
 
127
127
    topics = topic_registry.keys()
128
128
    lmax = max(len(topic) for topic in topics)
129
 
        
 
129
 
130
130
    out = []
131
131
    for topic in topics:
132
132
        summary = topic_registry.get_summary(topic)
191
191
            #doc = indent_re.sub('', doc)
192
192
            while (doc[-2:] == '\n\n' or doc[-1:] == ' '):
193
193
                doc = doc[:-1]
194
 
        
 
194
 
195
195
        # Note: The leading : here are HACKs to get reStructuredText
196
196
        # 'field' formatting - we know that the prefix ends in a ':'.
197
197
        out.append(":%s\n\t%s" % (i.prefix, summary))
322
322
"""Standard Options
323
323
 
324
324
Standard options are legal for all commands.
325
 
      
 
325
 
326
326
--help, -h     Show help message.
327
327
--verbose, -v  Display more information.
328
328
--quiet, -q    Only display errors and warnings.
380
380
 
381
381
Another possible use for a checkout is to use it with a treeless repository
382
382
containing your branches, where you maintain only one working tree by
383
 
switching the master branch that the checkout points to when you want to 
 
383
switching the master branch that the checkout points to when you want to
384
384
work on a different branch.
385
385
 
386
386
Obviously to commit on a checkout you need to be able to write to the master
401
401
              checkout
402
402
  update      Pull any changes in the master branch in to your checkout
403
403
  commit      Make a commit that is sent to the master branch. If you have
404
 
              a heavy checkout then the --local option will commit to the 
 
404
              a heavy checkout then the --local option will commit to the
405
405
              checkout without sending the commit to the master
406
406
  bind        Change the master branch that the commits in the checkout will
407
407
              be sent to
417
417
 
418
418
Repositories are a form of database. Bzr will usually maintain this for
419
419
good performance automatically, but in some situations (e.g. when doing
420
 
very many commits in a short time period) you may want to ask bzr to 
 
420
very many commits in a short time period) you may want to ask bzr to
421
421
optimise the database indices. This can be done by the 'bzr pack' command.
422
422
 
423
423
By default just running 'bzr init' will create a repository within the new
724
724
                        "Help on status flags")
725
725
def get_bugs_topic(topic):
726
726
    from bzrlib import bugtracker
727
 
    return ("Bug Tracker Settings\n\n" + 
 
727
    return ("Bug Tracker Settings\n\n" +
728
728
        bugtracker.tracker_registry.help_topic(topic))
729
729
topic_registry.register('bugs', get_bugs_topic, 'Bug tracker settings')
730
730
topic_registry.register('env-variables', _env_variables,
819
819
            returned instead of plain text.
820
820
        """
821
821
        result = topic_registry.get_detail(self.topic)
822
 
        # there is code duplicated here and in bzrlib/plugin.py's 
 
822
        # there is code duplicated here and in bzrlib/plugin.py's
823
823
        # matching Topic code. This should probably be factored in
824
824
        # to a helper function and a common base class.
825
825
        if additional_see_also is not None: