~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/fetch.py

  • Committer: Aaron Bentley
  • Date: 2005-08-25 13:10:25 UTC
  • mfrom: (974.1.38)
  • mto: (1092.1.42) (1185.3.4)
  • mto: This revision was merged to the branch mainline in revision 1178.
  • Revision ID: abentley@panoramicfeedback.com-20050825131025-2aa94bcbbd646a00
Fixed return value when not an ImmutableStore

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
        for rev_id in failed:
58
58
            note("Failed to install %s" % rev_id)
59
59
        all_failed.update(failed)
60
 
        new_missing = set() 
 
60
        new_missing = []
61
61
        for rev_id in missing:
62
62
            try:
63
63
                revision = from_branch.get_revision(rev_id)
68
68
                    continue
69
69
            for parent in [p.revision_id for p in revision.parents]:
70
70
                if not has_revision(to_branch, parent):
71
 
                    new_missing.add(parent)
 
71
                    new_missing.append(parent)
72
72
        missing = new_missing
73
73
    return count, all_failed
74
74