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.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1845
24d8053020a2 constants: extract key for extra into a constant
Augie Fackler <augie@google.com>
parents:
diff changeset
     1
extrakey = 'topic'
2649
cf930521f14d topics: add some noise to rewrittent changeset to prevent hash cycle
Pulkit Goyal <7895pulkit@gmail.com>
parents: 1901
diff changeset
     2
changekey = '_rewrite_noise'