view tests/unwrap-message-id.py @ 49827:d09a57ce6fc4

verify: print short `p1` node in relevant dirstate messages This will help with debugging.
author Raphaël Gomès <rgomes@octobus.net>
date Wed, 21 Dec 2022 12:26:00 +0100
parents 6000f5b25c9b
children
line wrap: on
line source

import sys

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