search

Home  >  Q&A  >  body text

mercurial - hg log 怎么像git log 一样当有很多内容的时候有more的效果。

虽然可以这样解决 hg log | more 不过丢失掉了一些高亮。

黄舟黄舟2801 days ago588

reply all(1)I'll reply

  • ringa_lee

    ringa_lee2017-04-21 11:19:59

    I found the answer myself. It seems that when searching for hg, I have to change the mercurial search. :(

    There is an extension for pager. Just add these in .hgrc.

      [pager]
      pager = LESS='FRX' less
    
      [extensions]
      pager =
    

    reply
    0
  • Cancelreply