~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-07-23 10:10:11 UTC
  • mfrom: (5358.1.1 bzr.dev)
  • Revision ID: pqm@pqm.ubuntu.com-20100723101011-qwz98z4joj7xqfsr
Add InterBranch.copy_content_into() stub.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3309
3309
        """
3310
3310
        raise NotImplementedError(self.push)
3311
3311
 
 
3312
    @needs_write_lock
 
3313
    def copy_content_into(self, revision_id=None):
 
3314
        """Copy the content of source into target
 
3315
 
 
3316
        revision_id: if not None, the revision history in the new branch will
 
3317
                     be truncated to end with revision_id.
 
3318
        """
 
3319
        raise NotImplementedError(self.copy_content_into)
 
3320
 
3312
3321
 
3313
3322
class GenericInterBranch(InterBranch):
3314
3323
    """InterBranch implementation that uses public Branch functions."""