~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: 2007-07-25 02:47:25 UTC
  • mfrom: (2625.8.2 knits)
  • Revision ID: pqm@pqm.ubuntu.com-20070725024725-x592w4y7gdqxv81x
(robertc) Allow the adaption of Knits to external indices via KnitGraphIndex. (Robert Collins).

Show diffs side-by-side

added added

removed removed

Lines of Context:
157
157
            pending = set([revision_id])
158
158
            while len(pending) > 0:
159
159
                node = pending.pop()
160
 
                result[node] = a_weave.get_parents(node)
 
160
                result[node] = tuple(a_weave.get_parents(node))
161
161
                for revision_id in result[node]:
162
162
                    if revision_id not in result:
163
163
                        pending.add(revision_id)