]> git.ipfire.org Git - thirdparty/patchwork.git/commit
parser: detect mercurial series markers
authorPhilippe Pepiot <philippe.pepiot@logilab.fr>
Fri, 28 Apr 2017 16:14:42 +0000 (18:14 +0200)
committerStephen Finucane <stephen@that.guru>
Fri, 28 Apr 2017 22:24:06 +0000 (23:24 +0100)
commit8288cf162a32c7d1208970fd4ce536fa5c48e4b7
tree3a64666d0467ff4361bbf5bba6fc2966544ac30f
parent646366cc56793d663d98f9ec58a7cecc9734fcd8
parser: detect mercurial series markers

Unlike git, Mercurial series marker uses the format "M of N", handle
this in the subject parser.

Test code original author is Andrew Shadura <andrew.shadura@collabora.co.uk>

Signed-off-by: Philippe Pepiot <philippe.pepiot@logilab.fr>
Reviewed-by: Stephen Finucane <stephen@that.guru>
patchwork/parser.py
patchwork/tests/series/mercurial-cover-letter.mbox [new file with mode: 0644]
patchwork/tests/series/mercurial-no-cover-letter.mbox [new file with mode: 0644]
patchwork/tests/test_parser.py
patchwork/tests/test_series.py