Rev 3500: (mbp) Remove obsolete cmd_fetch in file:///home/pqm/archives/thelove/bzr/%2Btrunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Wed Jun 18 02:44:34 BST 2008


At file:///home/pqm/archives/thelove/bzr/%2Btrunk/

------------------------------------------------------------
revno: 3500
revision-id:pqm at pqm.ubuntu.com-20080618014427-zxkz0qy5140z7b32
parent: pqm at pqm.ubuntu.com-20080618001911-njznhgcbmok0bjsz
parent: mbp at sourcefrog.net-20080617035549-emg8t92hp5lvxmz6
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Wed 2008-06-18 02:44:27 +0100
message:
  (mbp) Remove obsolete cmd_fetch
modified:
  NEWS                           NEWS-20050323055033-4e00b5db738777ff
  bzrlib/builtins.py             builtins.py-20050830033751-fc01482b9ca23183
    ------------------------------------------------------------
    revno: 3497.2.1
    revision-id:mbp at sourcefrog.net-20080617035549-emg8t92hp5lvxmz6
    parent: pqm at pqm.ubuntu.com-20080616174225-2eokonl40p9ogzbw
    committer: Martin Pool <mbp at sourcefrog.net>
    branch nick: deprecation
    timestamp: Tue 2008-06-17 13:55:49 +1000
    message:
      Remove obsolete cmd_fetch
    modified:
      NEWS                           NEWS-20050323055033-4e00b5db738777ff
      bzrlib/builtins.py             builtins.py-20050830033751-fc01482b9ca23183
=== modified file 'NEWS'
--- a/NEWS	2008-06-17 06:47:15 +0000
+++ b/NEWS	2008-06-18 01:44:27 +0000
@@ -22,6 +22,9 @@
       connection closes and we cannot unlock.
       (Andrew Bennetts, John Arbash Meinel, #125784)
 
+    * Obsolete hidden command ``bzr fetch`` removed.
+      (Martin Pool, #172870)
+
     * Raise the correct exception when doing ``-rbefore:0`` or ``-c0``.
       (John Arbash Meinel, #239933)
 

=== modified file 'bzrlib/builtins.py'
--- a/bzrlib/builtins.py	2008-06-05 16:27:16 +0000
+++ b/bzrlib/builtins.py	2008-06-17 03:55:49 +0000
@@ -3355,20 +3355,6 @@
         shellcomplete.shellcomplete(context)
 
 
-class cmd_fetch(Command):
-    """Copy in history from another branch but don't merge it.
-
-    This is an internal method used for pull and merge.
-    """
-    hidden = True
-    takes_args = ['from_branch', 'to_branch']
-    def run(self, from_branch, to_branch):
-        from bzrlib.fetch import Fetcher
-        from_b = Branch.open(from_branch)
-        to_b = Branch.open(to_branch)
-        Fetcher(to_b, from_b)
-
-
 class cmd_missing(Command):
     """Show unmerged/unpulled revisions between two branches.
     




More information about the bazaar-commits mailing list