3 ms·
In particular, I wouldn't use mercurial without a .hgrc like this: [ui] editor = emacs -nw [extensions] color = pager = record = graphlog
by ngoldbaum 13y ago
In particular, I wouldn't use mercurial without a .hgrc like this:
[ui]
editor = emacs -nw
[extensions]
color =
pager =
record =
graphlog =
purge =
progress =
transplant =
[pager]
pager = LESS='FSRX' less
attend = annotate, cat, diff, export, glog, log, qdiff, heads
histedit and rebase are also useful but not for my usual workflows.
- ezquerra 13y agoFor the record, you don't need to enable the transplant and graphlog extensions anymore. Those are now part of core mercurial: - The transplant extension has become the "graft" core command (do "hg help graft" for more details) - The graphlog extension functionality has been rolled into the core log command. You must simply use the --graph (or the equivalent -G) flag.
- ngoldbaum 13y agoNot quite - graft doesn't support remote repositories, transplant does. I didn't know about hg log --graph, I think the muscle memory I have for hg glog will take a little while to break :) Thanks for the tip.
- ygra 13y agoYou can always do [alias] glog = log --graph I guess.
- ezquerra 13y agoYou are right. That is a small limitation of the graft command compared to the transplant extension. As far as I know that is the only difference between them. I have never needed to do that so I forgot to mention it, sorry!