hgext/convert/convcmd.py
changeset 17424 e7cfe3587ea4
parent 16925 eaf6a6d7f015
child 18372 5965997b7023
equal deleted inserted replaced
17406:fc14953e8e34 17424:e7cfe3587ea4
   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