Mercurial > hgsubversion
view tools/verify-all-heads.sh @ 1088:31917a6be09c
stupid: only check branch mappings for discovered files once
For whatever reason, we were processing the list of discovered files
for new branches every time we discovered a new file. This pulls the
process-discovered-files loop out of the discover-files loop, and
should reduce the running time from
O(num_paths_discovered * num_files_discovered) to
O(num_paths_discovered + num_files_discovered)
author | David Schleimer <dschleimer@fb.com> |
---|---|
date | Wed, 04 Sep 2013 11:47:57 -0700 |
parents | 11c4c7242a36 |
children |
line wrap: on
line source
#!/bin/sh . $(dirname $0)/common.sh for b in `hg branches -aq` ; do hg co $b || break echo verifying $b hg svn verify done