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

  • Committer: Aaron Bentley
  • Date: 2007-07-19 13:13:06 UTC
  • mfrom: (2630 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2631.
  • Revision ID: abentley@panoramicfeedback.com-20070719131306-slidf7rax5xqiao8
Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
634
634
                raise errors.BzrCommandError(
635
635
                    'bzr pull --revision takes one value.')
636
636
 
637
 
        old_rh = branch_to.revision_history()
 
637
        if verbose:
 
638
            old_rh = branch_to.revision_history()
638
639
        if tree_to is not None:
639
640
            result = tree_to.pull(branch_from, overwrite, revision_id,
640
641
                delta._ChangeReporter(unversioned_filter=tree_to.is_ignored))
736
737
                # Found a branch, so we must have found a repository
737
738
                repository_to = br_to.repository
738
739
        push_result = None
739
 
        old_rh = []
 
740
        if verbose:
 
741
            old_rh = []
740
742
        if dir_to is None:
741
743
            # The destination doesn't exist; create it.
742
744
            # XXX: Refactor the create_prefix/no_create_prefix code into a
792
794
            # we don't need to successfully push because of possible divergence.
793
795
            if br_from.get_push_location() is None or remember:
794
796
                br_from.set_push_location(br_to.base)
795
 
            old_rh = br_to.revision_history()
 
797
            if verbose:
 
798
                old_rh = br_to.revision_history()
796
799
            try:
797
800
                try:
798
801
                    tree_to = dir_to.open_workingtree()
3096
3099
 
3097
3100
 
3098
3101
class cmd_plugins(Command):
3099
 
    """List plugins"""
3100
 
    hidden = True
 
3102
    """List the installed plugins.
 
3103
    
 
3104
    This command displays the list of installed plugins including the
 
3105
    path where each one is located and a short description of each.
 
3106
 
 
3107
    A plugin is an external component for Bazaar that extends the
 
3108
    revision control system, by adding or replacing code in Bazaar.
 
3109
    Plugins can do a variety of things, including overriding commands,
 
3110
    adding new commands, providing additional network transports and
 
3111
    customizing log output.
 
3112
 
 
3113
    See the Bazaar web site, http://bazaar-vcs.org, for further
 
3114
    information on plugins including where to find them and how to
 
3115
    install them. Instructions are also provided there on how to
 
3116
    write new plugins using the Python programming language.
 
3117
    """
 
3118
 
3101
3119
    @display_command
3102
3120
    def run(self):
3103
3121
        import bzrlib.plugin