Rev 5359: Add InterBranch.copy_content_into() stub. in file:///home/pqm/archives/thelove/bzr/%2Btrunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Fri Jul 23 11:10:13 BST 2010


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

------------------------------------------------------------
revno: 5359 [merge]
revision-id: pqm at pqm.ubuntu.com-20100723101011-qwz98z4joj7xqfsr
parent: pqm at pqm.ubuntu.com-20100721222945-ryovxiywq78nfukm
parent: jelmer at samba.org-20100722230151-7ladia5qn3m2hepp
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Fri 2010-07-23 11:10:11 +0100
message:
  Add InterBranch.copy_content_into() stub.
modified:
  bzrlib/branch.py               branch.py-20050309040759-e4baf4e0d046576e
=== modified file 'bzrlib/branch.py'
--- a/bzrlib/branch.py	2010-06-30 08:34:11 +0000
+++ b/bzrlib/branch.py	2010-07-22 23:01:51 +0000
@@ -3309,6 +3309,15 @@
         """
         raise NotImplementedError(self.push)
 
+    @needs_write_lock
+    def copy_content_into(self, revision_id=None):
+        """Copy the content of source into target
+
+        revision_id: if not None, the revision history in the new branch will
+                     be truncated to end with revision_id.
+        """
+        raise NotImplementedError(self.copy_content_into)
+
 
 class GenericInterBranch(InterBranch):
     """InterBranch implementation that uses public Branch functions."""




More information about the bazaar-commits mailing list