|
a/Allura/allura/model/repo.py |
|
b/Allura/allura/model/repo.py |
|
... |
|
... |
614 |
if pos+1 < len(run.commit_ids):
|
614 |
if pos+1 < len(run.commit_ids):
|
615 |
ci_parents[oid] = [ run.commit_ids[pos+1] ]
|
615 |
ci_parents[oid] = [ run.commit_ids[pos+1] ]
|
616 |
else:
|
616 |
else:
|
617 |
ci_parents[oid] = run.parent_commit_ids
|
617 |
ci_parents[oid] = run.parent_commit_ids
|
618 |
for oid in run.parent_commit_ids:
|
618 |
for oid in run.parent_commit_ids:
|
619 |
if commit_id!=oid:
|
619 |
if oid not in seen:
|
620 |
_visit(oid)
|
620 |
_visit(oid)
|
621 |
|
621 |
|
622 |
def _gen_ids(commit_ids, skip, limit):
|
622 |
def _gen_ids(commit_ids, skip, limit):
|
623 |
# Traverse the graph in topo order, yielding commit IDs
|
623 |
# Traverse the graph in topo order, yielding commit IDs
|
624 |
commits = set(commit_ids)
|
624 |
commits = set(commit_ids)
|