伙计们,请你介绍一下安装包附带的TortoiseHg扩展吗?这些以及您每天使用的是什么?什么更有用?
这是TortoiseHg v1.1.5 for Windows的列表。
[extensions]
; extensions shipped with Mercurial by default
;
;acl =
;bookmarks =
;bugzilla =
;children =
;churn =
; Warning: the color extension is not recommended for Windows
;color =
;convert =
;extdiff =
;fetch =
;gpg =
;graphlog =
;hgcia =
;hgk =
;highlight =
;interhg =
;keyword =
;mq =
;notify =
;pager =
;parentrevspec =
;patchbomb =
;progress =
;purge =
;rebase =
;record =
;schemes =
;transplant =
;win32mbcs =
;win32text =
;zeroconf =
; Extra extensions bundled with TortoiseHg
;fold =
;hgcr-gui =
;perfarce =
;hgeol =
;mercurial_keyring =
我个人的最爱:
graphlog ASCII graph next to changesets to visualize branching.
mq Handle local changes as a series of patches that can be edited.
purge Mass delete of unrevisioned files (and ignored files with --all).
rebase transplant a branch onto a different changeset.
transplant Copy a changeset onto the local changeset.
其中,我用 mq
和 purge
日常。
经过一年的经验,我获得了我自己必须拥有的最有用的mercurial扩展名列表(使用Windows和TortoiseHg)。将按重要性顺序列出。
- mq(历史版和rebase启用)
- rebase(对于repo周围的变化)
- 移植(有时需要精确控制变更集)
- 书签(很少需要标记分支的负责人)
颜色的扩展让我很好奇,所以这里是什么 文档 为它说:
此扩展修改status命令以向其输出添加颜色以反映文件状态,qseries命令添加颜色以反映补丁状态(已应用,未应用,缺失),以及与diff相关的命令以突出显示添加,删除,差异标题,和尾随空格。
除了颜色之外,还可以使用其他效果,如粗体和带下划线的文本。使用ECMA-48 SGR控制功能(也称为ANSI转义码)渲染效果。此模块还提供render_text函数,该函数可用于向任何文本添加效果。