[PATCH RFC] forest extension
Thomas Arendsen Hein
thomas at intevation.de
Sat Dec 9 15:36:29 UTC 2006
* Robin Farine <robin.farine at terminus.org> [20061209 14:29]:
> I would like the forest extension to be reviewed and, if you think
> it is worth it, ultimately included in Mercurial mainline.
I want to have it in mainline soon, but some small issues need to be
solved first:
> +def enumerate_repos(ui, top='', **opts):
> + """Generate a lexicographically sorted list of repository roots."""
This should somehow be integrated with util.walkrepos(), which of
course has to be extended with the walkhg code.
> + for e in entries:
> + if e == 'data' and os.path.split(root)[1] == '.hg':
> + continue
This code will break real soon with the advent of store.
There is a repo.spath now, which should be excluded from walking.
Generally there are some repository methods which should be used
more frequently in the forest extension.
Thomas
--
Email: thomas at intevation.de
http://intevation.de/~thomas/
More information about the Mercurial-devel
mailing list