> stated hash value, so I'm guessing that some sort of metadata is
> concatenated to the file before hashing?

The patch id isn't a hash of the patch, but a hash of the patch metadata.  As
far as I know, this gains none of the benefits of hash-based identification but
suffers all of the costs and then some.  Darcs probably would have done better
to choose a random 20-byte string to be the patch id.

> Any thoughts would be appreciated.  Maybe there is even a better,
> cleaner way of changing patch names and logs?

If I were you I would customize tailor.  Depending on what you want to do,
simply --patch-name-format="your string" would do.  If not that, then writing
your own pre-commit hook might do.  Or else hacking the tailor source.  See
also channel #darcs and channel #tailor on irc.freenode.net.

Regards,

Zooko

_______________________________________________
darcs-users mailing list
[email protected]
http://www.abridgegame.org/mailman/listinfo/darcs-users

Reply via email to