~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Jelmer Vernooij
  • Date: 2009-02-25 02:05:35 UTC
  • mto: This revision was merged to the branch mainline in revision 4053.
  • Revision ID: jelmer@samba.org-20090225020535-qw7udfz9ploqzosn
Add tests for InterBranch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2666
2666
    _optimisers = []
2667
2667
    """The available optimised InterBranch types."""
2668
2668
 
 
2669
    @staticmethod
 
2670
    def _get_branch_format_to_test():
 
2671
        """Return the Branch format to use when testing this InterBranch."""
 
2672
        raise NotImplementedError(self._get_branch_format_to_test)
 
2673
 
2669
2674
    def update_revisions(self, stop_revision=None, overwrite=False,
2670
2675
                         graph=None):
2671
2676
        """Pull in new perfect-fit revisions.
2684
2689
    """InterBranch implementation that uses public Branch functions.
2685
2690
    """
2686
2691
 
 
2692
    @staticmethod
 
2693
    def _get_branch_format_to_test():
 
2694
        return BranchFormat._default_format
 
2695
 
2687
2696
    def update_revisions(self, stop_revision=None, overwrite=False,
2688
2697
        graph=None):
2689
2698
        """See InterBranch.update_revisions()."""