patchbomb flags

Yuya Nishihara yuya at tcha.org
Tue Apr 2 22:32:56 UTC 2019


On Tue, 02 Apr 2019 01:01:02 -0400, Ludovic Chabant wrote:
> When contributing to a project by email (using patchbomb's `hg email` command) it's common to send revisions with a V2/V3/etc. flag in the subject. Additionally, when contributing via a mailing list that serves multiple projects, it's common to also add the project's name as a flag in the subject too (so you might end up with "[PATCH foobar V2] My bug fix").
> How do people typically do that last bit automatically? (adding the "foobar" flag)

Try patchbomb.flagtemplate:

  [patchbomb]
  flagtemplate = "{separate(' ', '<whatever>', flags)}"



More information about the Mercurial mailing list