【发布时间】:2019-03-21 19:42:36
【问题描述】:
我添加了条扩展 hgrc 配置。 (MAC 操作系统)
cd ~
nano .hgrc
在[extension] 下添加一行:
strip =
即使 vagrant restart 或 mac restart 没有帮助,该命令仍然无法识别。
hgrc 文件:
[ui]
# name and email, e.g.
# username = Jane Doe <jdoe@example.com>
username = ....>
ignore=~/.hgignore_global
# We recommend enabling tweakdefaults to get slight improvements to
# the UI over time. Make sure to set HGPLAIN in the environment when
# writing scripts!
# tweakdefaults = True
# uncomment to disable color in command output
# (see 'hg help color' for details)
# color = never
# uncomment to disable command output pagination
# (see 'hg help pager' for details)
# paginate = never
[extensions]
uncomment these lines to enable some popular extensions
(see 'hg help extensions' for more info)
churn =
color =
strip =
[color]
status.modified = blue bold underline red_background
status.added = green bold
status.removed = red bold blue_background
status.deleted = cyan bold underline
status.unknown = magenta bold underline
【问题讨论】:
-
您能否发布您的 hgrc 的全部内容或至少相关部分?
-
@DaveInCaz 嘿,用文件内容更新了主题。
-
在扩展部分的评论没有被评论...这是问题吗?
标签: mercurial mercurial-extension