hgext3rd/topic/constants.py
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
Sun, 23 Jul 2017 13:30:28 +0900
branchstable
changeset 2805 a789b9d5b60c
parent 2649 cf930521f14d
child 4814 48b30ff742cb
permissions -rw-r--r--
topic: make command names valid as expected, even if ui.strict=true Before this patch, "hg topics" and "hg stack" cause unintentional "unknown command" failure, if ui.strict=true. In such case, "topics [TOPIC]" and "stack [TOPIC]" are required as a canonical name, because synopsis-like string is used as command name pattern of @command annotation for them. This patch also specifies additional "synopsis" for @command annotation, for intentional output in online help of these commands.

extrakey = 'topic'
changekey = '_rewrite_noise'