[darcs-users] hashed repository issue
Eric Kow
kowey at darcs.net
Mon Dec 8 20:36:55 UTC 2008
On Mon, Dec 08, 2008 at 13:37:08 +0200, Dan Pascu wrote:
> Yes it does, but it is not a viable solution to have to constantly run
> darcs optimize when you have too many files, from fearing that you may
> exceed them and get an error. Not to mention the slowness a flattened
> directory with that many files will introduce anyway.
I wonder if it would make sense for a future version of hashed pristine
to store
_darcs/pristine/long-hash-string
_darcs/pristine/long-hash-string.dir
_darcs/pristine/long-hash-string.dir/other-long-hash-string
Ah but then we quickly run afoul of filepath length restrictions...
Hmm then maybe storing the dirs as
_darcs/pristine/0
_darcs/pristine/1
...
etc
And storing the dirname in the inventory file for that directory
might make sense
--
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20081208/e3f919f9/attachment.pgp
More information about the darcs-users
mailing list