Mercurial > hg
view tests/unwrap-message-id.py @ 44145:0b475b0b0344
debugcommands: add Python implementation to debuginstall
This seems like a useful detail to print.
Differential Revision: https://phab.mercurial-scm.org/D7979
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Fri, 22 Nov 2019 20:27:09 -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="")