Compute hash for mailbox file?

Jeremy Kerr jk at
Thu Apr 14 19:37:48 EST 2011

Hi Wolfgang,

> I'm trying to find a way to match a given mailbox file to an entry in
> patchwork so that I can modify it using pwclient.  It appears the best
> way would be to compute the has of the mailbox file and use this with
> the "-h <hash>" option.
> Is there an easy way to do that?

There is a way, but it's a bit clunky at the moment. You need
from the patchwork source tree. If you don't have a tree handy, it's at:;a=blob_plain;f=apps/patchwork/;hb=HEAD

then run:

 ./parser-py --hash < foo.patch



More information about the Patchwork mailing list