~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repofmt/knitrepo.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-01-02 04:25:42 UTC
  • mfrom: (3146.1.1 parents-provider-fix)
  • Revision ID: pqm@pqm.ubuntu.com-20080102042542-13ocbo4243mov89j
Fix handling of ghost revisions in KnitParentsProvider (abentley)

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
                try:
76
76
                    parents = self._knit.get_parents_with_ghosts(revision_id)
77
77
                except errors.RevisionNotPresent:
78
 
                    pass
 
78
                    continue
79
79
                else:
80
80
                    if len(parents) == 0:
81
81
                        parents = [_mod_revision.NULL_REVISION]