How can I list a series of revisions using 'hg log'?

后端 未结 1 922
盖世英雄少女心
盖世英雄少女心 2021-02-18 20:43

I\'m attempting to use the hg log command to show a series of revisions, x through y.

When I do this:

hg log -r 1+5
         


        
1条回答
  •  深忆病人
    2021-02-18 20:56

    hg log -r1:5.

    Mercurial has an entire mini-language devoted to selecting revisions for commands (not just for logs). For more information, see hg help revsets (needs Mercurial 1.6+).

    0 讨论(0)
提交回复
热议问题