什么是最好且必须拥有的汞/汞离子延伸剂? [英] What are the best and must-have hg / mercurial extensions?

查看:47
本文介绍了什么是最好且必须拥有的汞/汞离子延伸剂?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近一直在尝试hg/mercurial,即与Fogcreek的Kiln一起使用,我正在尝试弄清楚什么是必须的扩展.在扩展名列表中进行筛选有些棘手,因为即使他们的描述听起来很棒,我也不希望测试任何错误或不切实际的扩展名.

I've been dabbling with hg / mercurial lately, namely in conjunction with Fogcreek's Kiln, and I'm trying to figure out what the must-have extensions are. Its a little tricky sifting through their extension list because I'm not interested in testing any buggy or impractical extensions, even if their description sounds awesome.

那么,您使用哪些hg扩展名?

So, which hg extensions do you use?

请参见使用扩展名

推荐答案

我自己的匹配列表:

您必须拥有的简单的东西:

The simple ones you must have:

  1. color:对诸如diffstatus之类的命令的输出进行着色,从而使评估更加容易.
  2. pager:一次浏览长输出页面.
  3. fetch:只需一步即可从另一个存储库中提取,更新和合并.
  4. graphlog:在外壳中显示修订图,对于查看日志历史记录中的分支非常有用.
  5. hgk:使用图形界面浏览存储库(另请参见TortoiseHg和Murky)
  1. color: colorize output from commands like diff and status, which makes it easier to assess.
  2. pager: browse long output a page at a time.
  3. fetch: pull, update and merge from another repo in one step.
  4. graphlog: display revision graphs in your shell, incredibly useful for looking at the branches in your log history.
  5. hgk: browse the repository with a graphical interface (see also TortoiseHg and Murky)

如果启用pager,则应将其配置为不干扰某些命令:

If you enable pager, you should configure it to not interfere with certain commands:

[pager]
pager = LESS='FSRX' less
ignore = version, help, update, serve, record

我强烈推荐(并经常使用)中间扩展:

The intermediate extensions I highly recommend (and use frequently):

  1. record:可让您交互式地选择要提交的文件块-非常适合在进行一组更改的情况下,并且最终修复了应具有自己的提交内容的文件.
  2. extdiff:配置外部差异工具(例如meld)
  3. share:具有多个克隆使用相同的回购历史记录
  1. record: lets you interactively select hunks of files to commit - perfect for when you are in the middle of one set of changes, and you end up fixing something that should have its own commit.
  2. extdiff: configure an external diff tool (such as meld)
  3. share: have multiple clones use the same repo history

我不会没有的高级扩展:

The Advanced extensions I would not be without:

  1. mq:管理一堆补丁程序.功能非常强大,可以在树的顶部分层放置补丁.
  2. notify:更改存储库后发送电子邮件通知.
  3. rebase:在新的父修订版之上重新应用本地更改.
  4. largefiles:在hg存储区之外使用大型二进制文件
  1. mq: manage a stack of patches. Very powerful, allows layering of patches on top of the tree.
  2. notify: send email notifications when a repo is changed.
  3. rebase: reapply local changes on top of a new parent revision.
  4. largefiles: work with large binary files outside the hg store

以上所有内容均与Mercurial捆绑在一起,并且稳定且经过了良好的测试.我强烈推荐所有这些.

All the above are bundled with Mercurial, and are stable and well-tested. I highly recommend all of them.

非核心扩展值得研究:

  1. shelve:有选择地搁置更改(按块的粒度)并恢复它们.
  2. acl:有选择地允许访问存储库树的不同部分
  1. shelve: selectively put aside changes (at the granularity of hunks) and restore them.
  2. acl: selectively allow access to different parts of the repository tree

已取代的扩展程序已迁移到核心(来自@ durin42的信息):

Superseded extensions and migrated to core (info from @durin42):

    v1.3中引入的subrepo支持取代了
  • forest
  • bookmarks是核心功能,始终处于启用状态
  • transplant被核心命令graft取代
  • histedit从v2.3开始处于核心地位,但默认情况下处于禁用状态
  • 不建议使用
  • inotify,因为竞争条件显然存在错误
  • forest was been superseded by the subrepo support introduced in v1.3
  • bookmarks is in core and always enabled
  • transplant is superseded by graft, a core command
  • histedit is in core as of v2.3, but is disabled by default
  • inotify is not recommended, as there is apparently a bug due to a race condition

这篇关于什么是最好且必须拥有的汞/汞离子延伸剂?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆