~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-06-18 01:44:27 UTC
  • mfrom: (3497.2.1 deprecation)
  • Revision ID: pqm@pqm.ubuntu.com-20080618014427-zxkz0qy5140z7b32
(mbp) Remove obsolete cmd_fetch

Show diffs side-by-side

added added

removed removed

Lines of Context:
3355
3355
        shellcomplete.shellcomplete(context)
3356
3356
 
3357
3357
 
3358
 
class cmd_fetch(Command):
3359
 
    """Copy in history from another branch but don't merge it.
3360
 
 
3361
 
    This is an internal method used for pull and merge.
3362
 
    """
3363
 
    hidden = True
3364
 
    takes_args = ['from_branch', 'to_branch']
3365
 
    def run(self, from_branch, to_branch):
3366
 
        from bzrlib.fetch import Fetcher
3367
 
        from_b = Branch.open(from_branch)
3368
 
        to_b = Branch.open(to_branch)
3369
 
        Fetcher(to_b, from_b)
3370
 
 
3371
 
 
3372
3358
class cmd_missing(Command):
3373
3359
    """Show unmerged/unpulled revisions between two branches.
3374
3360