~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/fetch.py

  • Committer: Martin Pool
  • Date: 2005-09-13 23:42:32 UTC
  • mto: (1185.8.2) (974.1.91)
  • mto: This revision was merged to the branch mainline in revision 1390.
  • Revision ID: mbp@sourcefrog.net-20050913234232-4d901f2d843a35f3
- ignore .DS_Store by default

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