~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Jelmer Vernooij
  • Date: 2010-07-22 23:01:51 UTC
  • mto: This revision was merged to the branch mainline in revision 5359.
  • Revision ID: jelmer@samba.org-20100722230151-7ladia5qn3m2hepp
Add stub for InterBranch.copy_content_into.

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."""