~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/fetch.py

  • Committer: Martin Pool
  • Date: 2005-09-05 05:35:25 UTC
  • mfrom: (974.1.55)
  • Revision ID: mbp@sourcefrog.net-20050905053525-2112bac069dbe331
- merge various bug fixes from aaron

aaron.bentley@utoronto.ca-20050905020131-a2d5b7711dd6cd98

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
        for rev_id in failed:
65
65
            note("Failed to install %s" % rev_id)
66
66
        all_failed.update(failed)
67
 
        new_missing = []
 
67
        new_missing = set() 
68
68
        for rev_id in missing:
69
69
            try:
70
70
                revision = from_branch.get_revision(rev_id)
75
75
                    continue
76
76
            for parent in [p.revision_id for p in revision.parents]:
77
77
                if not has_revision(to_branch, parent):
78
 
                    new_missing.append(parent)
 
78
                    new_missing.add(parent)
79
79
        missing = new_missing
80
80
    return count, all_failed
81
81