equal
deleted
inserted
replaced
165 pc.append(p) |
165 pc.append(p) |
166 parents[c] = pc |
166 parents[c] = pc |
167 |
167 |
168 def toposort(self, parents, sortmode): |
168 def toposort(self, parents, sortmode): |
169 '''Return an ordering such that every uncommitted changeset is |
169 '''Return an ordering such that every uncommitted changeset is |
170 preceeded by all its uncommitted ancestors.''' |
170 preceded by all its uncommitted ancestors.''' |
171 |
171 |
172 def mapchildren(parents): |
172 def mapchildren(parents): |
173 """Return a (children, roots) tuple where 'children' maps parent |
173 """Return a (children, roots) tuple where 'children' maps parent |
174 revision identifiers to children ones, and 'roots' is the list of |
174 revision identifiers to children ones, and 'roots' is the list of |
175 revisions without parents. 'parents' must be a mapping of revision |
175 revisions without parents. 'parents' must be a mapping of revision |