/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: Martin Pool
  • Date: 2008-06-17 03:55:49 UTC
  • mto: This revision was merged to the branch mainline in revision 3500.
  • Revision ID: mbp@sourcefrog.net-20080617035549-emg8t92hp5lvxmz6
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