~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Robert Collins
  • Date: 2005-10-11 03:27:29 UTC
  • Revision ID: robertc@robertcollins.net-20051011032729-a0ba11dfb9bee3a3
tests passing is a good idea - move the branch open in cmd_branch to ensure this, and remove noise from the test suite

Show diffs side-by-side

added added

removed removed

Lines of Context:
1010
1010
        from bzrlib.revision import get_intervening_revisions
1011
1011
        if stop_revision is None:
1012
1012
            stop_revision = other.last_revision()
1013
 
        if stop_revision is not None and self.has_revision(stop_revision):
 
1013
        if (stop_revision is not None and 
 
1014
            stop_revision in self.revision_history()):
1014
1015
            return
1015
1016
        greedy_fetch(to_branch=self, from_branch=other,
1016
1017
                     revision=stop_revision)