Reinier Lamers <[email protected]> writes: > Where does the dash ('-') in the hash come from? In what situation won't it > be present, invoking the [] case in hashedBucket? The dash separates the size (formatted to 10 decimal digits) from the hash. There was no dash in old darcs 2 (probably pre-2.0) versions and there will be no dash in future darcs versions. We should handle both cases by properly bucketing. (If there is no dash, the filename is the hash alone (maybe a suffix, but probably not important, that).) Reading the code, it seems to me that this should work just fine for both cases (although the no-dash version might be made a little more efficient, I'd guess).
Yours, Petr. _______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
