Dealing with duplicated hashes

Jeremy Kerr jk at ozlabs.org
Thu Sep 15 15:27:07 EST 2011


Hi Wolfgang,

> I came to the conclusion that the current behaviour is actually a bug.
> I have seen cases where new patch versions were sent because changes
> to the commit message were requested - yet pwclient will always access
> the old patch, and thus eventually apply the wrong one.

Yeah, bug or not, it's definitely not desirable behaviour.

However, solving it in a comprehensive way doesn't seem obvious - we
could return an error when there are multiple hash matches, or perhaps
default to the most recent patch. But both of these are a little
imprescice, will this be okay for your usage?

Cheers,


Jeremy



More information about the Patchwork mailing list