[darcs-devel] help understanding patches filenames

Tupshin Harper tupshin at tupshin.com
Sun Apr 24 04:40:24 PDT 2005


I'm trying to understand how _darcs/patches/* filenames are constructed.

e.g.: 20050424104714-a9258-665fbe3365b723b91df6c95d1434c7bc2be5d6d7.gz

I understand that the first section ("20050424104714") is the timestamp
that is also stored in the inventory, but beyond that I'm at a loss.

I have no idea where the middle section ("a9258") comes from, and while
I believe that the last section is a hex encoded sha1 digest of
something, I'm not sure what it's actually actually derived from.
Presumably it's just derived from some information stored in the
inventory, but I can't tell what.

Can anybody provide some pointers?

Thanks

-Tupshin




More information about the darcs-devel mailing list