Mercurial > public > mercurial-scm > hg-stable
view tests/unwrap-message-id.py @ 53036:fcd7cb10623d stable
drawdag: add documentation about special comment around files
The feature was not documented, so we start with documenting it before
extending it.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 11 Mar 2025 11:38:12 +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="")