tests/unwrap-message-id.py
author Pierre-Yves David <pierre-yves.david@octobus.net>
Mon, 22 Feb 2021 11:56:58 +0100
changeset 46560 c7baff95808c
parent 44405 a1908951ca42
child 48875 6000f5b25c9b
permissions -rw-r--r--
test-copies: add a case involving the `b` and a new `r` branch That case involve a branch overwriting copies information from the other one. It is similar to the `mBFm` / `mFBm` case except this case actual content merge is involved too. Differential Revision: https://phab.mercurial-scm.org/D10058

from __future__ import absolute_import, print_function

import sys

for line in sys.stdin:
    if line.lower() in ("message-id: \n", "in-reply-to: \n"):
        line = line[:-2]
    print(line, end="")