~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/graph.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-07-19 16:09:34 UTC
  • mfrom: (2520.4.135 bzr.mpbundle)
  • Revision ID: pqm@pqm.ubuntu.com-20070719160934-d51fyijw69oto88p
Add new bundle and merge-directive formats

Show diffs side-by-side

added added

removed removed

Lines of Context:
276
276
            lca = self.find_lca(*revisions)
277
277
            if len(lca) == 1:
278
278
                return lca.pop()
 
279
            if len(lca) == 0:
 
280
                raise errors.NoCommonAncestor(left_revision, right_revision)
279
281
            revisions = lca
280
282
 
281
283
    def iter_topo_order(self, revisions):