[PATCH] Issue #839: prevent any file paths under .hg/store/data/ from getting too long
Matt Mackall
mpm at selenic.com
Mon Jun 30 16:35:21 CDT 2008
On Mon, 2008-06-30 at 22:56 +0200, Peter Arrenbrecht wrote:
> I liked mpm's idea of using the first few letters of the first few
> dirs in the new path, also as dirs. An attempt to group related files
> again, and an attempt to avoid issues with tons of files in a single
> dir, if I understood his intentions. Of course, we might never see
> tons of files encoded this way, so this might be moot.
Unfortunately, path length tends to be proportional to log(# of files)
so the larger the repo is, the more of these files it's going to have
(and the more important it will be to avoid seeking).
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial-devel
mailing list