comparison mercurial/registrar.py @ 28232:829d369fc5a8

changegroup: write root manifests and subdir manifests in a single loop This is another step towards making the manifest generation recurse along the directory trees. The loop over 'tmfnodes' now takes the form of a queue. At this point, we only add to the queue twice: we add the root manifests, and, while visiting the root manifest revisions, we add all subdirectory revisions (for treemanifest repos). Thus, any iterations over 'tmfnodes' after the first will not add any items and the "queue" will just keep shrinking.
author Martin von Zweigbergk <martinvonz@google.com>
date Fri, 12 Feb 2016 23:30:18 -0800
parents 60bf90eb8bf8
children b983a2f04987
comparison
equal deleted inserted replaced
28231:3faba927dd93 28232:829d369fc5a8