view tests/unwrap-message-id.py @ 43444:c470e699cd00

repoview: move changelog.__contains__() override to filteredchangelog Differential Revision: https://phab.mercurial-scm.org/D7238
author Martin von Zweigbergk <martinvonz@google.com>
date Tue, 05 Nov 2019 14:11:30 -0800
parents 4128ffba4431
children a1908951ca42
line wrap: on
line source

from __future__ import absolute_import, print_function

import re
import sys

print(re.sub(r"(?<=Message-Id:) \n ", " ", sys.stdin.read()), end="")