tests/test-glog.t
changeset 14043 1c1e1232abdc
parent 14042 9966c95b8c4f
child 14081 8670e3694b85
equal deleted inserted replaced
14042:9966c95b8c4f 14043:1c1e1232abdc
   676      user:        test
   676      user:        test
   677      date:        Thu Jan 01 00:00:00 1970 +0000
   677      date:        Thu Jan 01 00:00:00 1970 +0000
   678      summary:     (0) root
   678      summary:     (0) root
   679   
   679   
   680 
   680 
   681 Unused arguments:
   681 File glog per revset:
   682   $ hg glog -q foo bar
   682 
   683   hg glog: invalid arguments
   683   $ hg glog -r 'file("a")'
   684   hg glog [OPTION]... [FILE]
   684   @  changeset:   34:fea3ac5810e0
       
   685   |  tag:         tip
       
   686   |  parent:      32:d06dffa21a31
       
   687   |  user:        test
       
   688   |  date:        Thu Jan 01 00:00:34 1970 +0000
       
   689   |  summary:     (34) head
       
   690   |
       
   691   | o  changeset:   33:68608f5145f9
       
   692   | |  parent:      18:1aa84d96232a
       
   693   | |  user:        test
       
   694   | |  date:        Thu Jan 01 00:00:33 1970 +0000
       
   695   | |  summary:     (33) head
       
   696   | |
       
   697   o |    changeset:   32:d06dffa21a31
       
   698   |\ \   parent:      27:886ed638191b
       
   699   | | |  parent:      31:621d83e11f67
       
   700   | | |  user:        test
       
   701   | | |  date:        Thu Jan 01 00:00:32 1970 +0000
       
   702   | | |  summary:     (32) expand
       
   703   | | |
       
   704   | o |    changeset:   31:621d83e11f67
       
   705   | |\ \   parent:      21:d42a756af44d
       
   706   | | | |  parent:      30:6e11cd4b648f
       
   707   | | | |  user:        test
       
   708   | | | |  date:        Thu Jan 01 00:00:31 1970 +0000
       
   709   | | | |  summary:     (31) expand
       
   710   | | | |
       
   711   | | o |    changeset:   30:6e11cd4b648f
       
   712   | | |\ \   parent:      28:44ecd0b9ae99
       
   713   | | | | |  parent:      29:cd9bb2be7593
       
   714   | | | | |  user:        test
       
   715   | | | | |  date:        Thu Jan 01 00:00:30 1970 +0000
       
   716   | | | | |  summary:     (30) expand
       
   717   | | | | |
       
   718   | | | o |  changeset:   29:cd9bb2be7593
       
   719   | | | | |  parent:      0:e6eb3150255d
       
   720   | | | | |  user:        test
       
   721   | | | | |  date:        Thu Jan 01 00:00:29 1970 +0000
       
   722   | | | | |  summary:     (29) regular commit
       
   723   | | | | |
       
   724   | | o | |    changeset:   28:44ecd0b9ae99
       
   725   | | |\ \ \   parent:      1:6db2ef61d156
       
   726   | | | | | |  parent:      26:7f25b6c2f0b9
       
   727   | | | | | |  user:        test
       
   728   | | | | | |  date:        Thu Jan 01 00:00:28 1970 +0000
       
   729   | | | | | |  summary:     (28) merge zero known
       
   730   | | | | | |
       
   731   o | | | | |  changeset:   27:886ed638191b
       
   732   |/ / / / /   parent:      21:d42a756af44d
       
   733   | | | | |    user:        test
       
   734   | | | | |    date:        Thu Jan 01 00:00:27 1970 +0000
       
   735   | | | | |    summary:     (27) collapse
       
   736   | | | | |
       
   737   | | o---+  changeset:   26:7f25b6c2f0b9
       
   738   | | | | |  parent:      18:1aa84d96232a
       
   739   | | | | |  parent:      25:91da8ed57247
       
   740   | | | | |  user:        test
       
   741   | | | | |  date:        Thu Jan 01 00:00:26 1970 +0000
       
   742   | | | | |  summary:     (26) merge one known; far right
       
   743   | | | | |
       
   744   +---o | |  changeset:   25:91da8ed57247
       
   745   | | | | |  parent:      21:d42a756af44d
       
   746   | | | | |  parent:      24:a9c19a3d96b7
       
   747   | | | | |  user:        test
       
   748   | | | | |  date:        Thu Jan 01 00:00:25 1970 +0000
       
   749   | | | | |  summary:     (25) merge one known; far left
       
   750   | | | | |
       
   751   | | o | |  changeset:   24:a9c19a3d96b7
       
   752   | | |\| |  parent:      0:e6eb3150255d
       
   753   | | | | |  parent:      23:a01cddf0766d
       
   754   | | | | |  user:        test
       
   755   | | | | |  date:        Thu Jan 01 00:00:24 1970 +0000
       
   756   | | | | |  summary:     (24) merge one known; immediate right
       
   757   | | | | |
       
   758   | | o | |  changeset:   23:a01cddf0766d
       
   759   | |/| | |  parent:      1:6db2ef61d156
       
   760   | | | | |  parent:      22:e0d9cccacb5d
       
   761   | | | | |  user:        test
       
   762   | | | | |  date:        Thu Jan 01 00:00:23 1970 +0000
       
   763   | | | | |  summary:     (23) merge one known; immediate left
       
   764   | | | | |
       
   765   +---o---+  changeset:   22:e0d9cccacb5d
       
   766   | |   | |  parent:      18:1aa84d96232a
       
   767   | |  / /   parent:      21:d42a756af44d
       
   768   | | | |    user:        test
       
   769   | | | |    date:        Thu Jan 01 00:00:22 1970 +0000
       
   770   | | | |    summary:     (22) merge two known; one far left, one far right
       
   771   | | | |
       
   772   o | | |    changeset:   21:d42a756af44d
       
   773   |\ \ \ \   parent:      19:31ddc2c1573b
       
   774   | | | | |  parent:      20:d30ed6450e32
       
   775   | | | | |  user:        test
       
   776   | | | | |  date:        Thu Jan 01 00:00:21 1970 +0000
       
   777   | | | | |  summary:     (21) expand
       
   778   | | | | |
       
   779   | o---+-+  changeset:   20:d30ed6450e32
       
   780   |   | | |  parent:      0:e6eb3150255d
       
   781   |  / / /   parent:      18:1aa84d96232a
       
   782   | | | |    user:        test
       
   783   | | | |    date:        Thu Jan 01 00:00:20 1970 +0000
       
   784   | | | |    summary:     (20) merge two known; two far right
       
   785   | | | |
       
   786   o | | |    changeset:   19:31ddc2c1573b
       
   787   |\ \ \ \   parent:      15:1dda3f72782d
       
   788   | | | | |  parent:      17:44765d7c06e0
       
   789   | | | | |  user:        test
       
   790   | | | | |  date:        Thu Jan 01 00:00:19 1970 +0000
       
   791   | | | | |  summary:     (19) expand
       
   792   | | | | |
       
   793   +---+---o  changeset:   18:1aa84d96232a
       
   794   | | | |    parent:      1:6db2ef61d156
       
   795   | | | |    parent:      15:1dda3f72782d
       
   796   | | | |    user:        test
       
   797   | | | |    date:        Thu Jan 01 00:00:18 1970 +0000
       
   798   | | | |    summary:     (18) merge two known; two far left
       
   799   | | | |
       
   800   | o | |    changeset:   17:44765d7c06e0
       
   801   | |\ \ \   parent:      12:86b91144a6e9
       
   802   | | | | |  parent:      16:3677d192927d
       
   803   | | | | |  user:        test
       
   804   | | | | |  date:        Thu Jan 01 00:00:17 1970 +0000
       
   805   | | | | |  summary:     (17) expand
       
   806   | | | | |
       
   807   | | o---+  changeset:   16:3677d192927d
       
   808   | | | | |  parent:      0:e6eb3150255d
       
   809   | | |/ /   parent:      1:6db2ef61d156
       
   810   | | | |    user:        test
       
   811   | | | |    date:        Thu Jan 01 00:00:16 1970 +0000
       
   812   | | | |    summary:     (16) merge two known; one immediate right, one near right
       
   813   | | | |
       
   814   o | | |    changeset:   15:1dda3f72782d
       
   815   |\ \ \ \   parent:      13:22d8966a97e3
       
   816   | | | | |  parent:      14:8eac370358ef
       
   817   | | | | |  user:        test
       
   818   | | | | |  date:        Thu Jan 01 00:00:15 1970 +0000
       
   819   | | | | |  summary:     (15) expand
       
   820   | | | | |
       
   821   | o-----+  changeset:   14:8eac370358ef
       
   822   | | | | |  parent:      0:e6eb3150255d
       
   823   | |/ / /   parent:      12:86b91144a6e9
       
   824   | | | |    user:        test
       
   825   | | | |    date:        Thu Jan 01 00:00:14 1970 +0000
       
   826   | | | |    summary:     (14) merge two known; one immediate right, one far right
       
   827   | | | |
       
   828   o | | |    changeset:   13:22d8966a97e3
       
   829   |\ \ \ \   parent:      9:7010c0af0a35
       
   830   | | | | |  parent:      11:832d76e6bdf2
       
   831   | | | | |  user:        test
       
   832   | | | | |  date:        Thu Jan 01 00:00:13 1970 +0000
       
   833   | | | | |  summary:     (13) expand
       
   834   | | | | |
       
   835   +---o | |  changeset:   12:86b91144a6e9
       
   836   | | |/ /   parent:      1:6db2ef61d156
       
   837   | | | |    parent:      9:7010c0af0a35
       
   838   | | | |    user:        test
       
   839   | | | |    date:        Thu Jan 01 00:00:12 1970 +0000
       
   840   | | | |    summary:     (12) merge two known; one immediate right, one far left
       
   841   | | | |
       
   842   | o | |    changeset:   11:832d76e6bdf2
       
   843   | |\ \ \   parent:      6:b105a072e251
       
   844   | | | | |  parent:      10:74c64d036d72
       
   845   | | | | |  user:        test
       
   846   | | | | |  date:        Thu Jan 01 00:00:11 1970 +0000
       
   847   | | | | |  summary:     (11) expand
       
   848   | | | | |
       
   849   | | o---+  changeset:   10:74c64d036d72
       
   850   | | | | |  parent:      0:e6eb3150255d
       
   851   | |/ / /   parent:      6:b105a072e251
       
   852   | | | |    user:        test
       
   853   | | | |    date:        Thu Jan 01 00:00:10 1970 +0000
       
   854   | | | |    summary:     (10) merge two known; one immediate left, one near right
       
   855   | | | |
       
   856   o | | |    changeset:   9:7010c0af0a35
       
   857   |\ \ \ \   parent:      7:b632bb1b1224
       
   858   | | | | |  parent:      8:7a0b11f71937
       
   859   | | | | |  user:        test
       
   860   | | | | |  date:        Thu Jan 01 00:00:09 1970 +0000
       
   861   | | | | |  summary:     (9) expand
       
   862   | | | | |
       
   863   | o-----+  changeset:   8:7a0b11f71937
       
   864   | | | | |  parent:      0:e6eb3150255d
       
   865   |/ / / /   parent:      7:b632bb1b1224
       
   866   | | | |    user:        test
       
   867   | | | |    date:        Thu Jan 01 00:00:08 1970 +0000
       
   868   | | | |    summary:     (8) merge two known; one immediate left, one far right
       
   869   | | | |
       
   870   o | | |    changeset:   7:b632bb1b1224
       
   871   |\ \ \ \   parent:      2:3d9a33b8d1e1
       
   872   | | | | |  parent:      5:4409d547b708
       
   873   | | | | |  user:        test
       
   874   | | | | |  date:        Thu Jan 01 00:00:07 1970 +0000
       
   875   | | | | |  summary:     (7) expand
       
   876   | | | | |
       
   877   +---o | |  changeset:   6:b105a072e251
       
   878   | |/ / /   parent:      2:3d9a33b8d1e1
       
   879   | | | |    parent:      5:4409d547b708
       
   880   | | | |    user:        test
       
   881   | | | |    date:        Thu Jan 01 00:00:06 1970 +0000
       
   882   | | | |    summary:     (6) merge two known; one immediate left, one far left
       
   883   | | | |
       
   884   | o | |    changeset:   5:4409d547b708
       
   885   | |\ \ \   parent:      3:27eef8ed80b4
       
   886   | | | | |  parent:      4:26a8bac39d9f
       
   887   | | | | |  user:        test
       
   888   | | | | |  date:        Thu Jan 01 00:00:05 1970 +0000
       
   889   | | | | |  summary:     (5) expand
       
   890   | | | | |
       
   891   | | o | |  changeset:   4:26a8bac39d9f
       
   892   | |/|/ /   parent:      1:6db2ef61d156
       
   893   | | | |    parent:      3:27eef8ed80b4
       
   894   | | | |    user:        test
       
   895   | | | |    date:        Thu Jan 01 00:00:04 1970 +0000
       
   896   | | | |    summary:     (4) merge two known; one immediate left, one immediate right
       
   897   | | | |
       
   898   | o | |  changeset:   3:27eef8ed80b4
       
   899   |/ / /   user:        test
       
   900   | | |    date:        Thu Jan 01 00:00:03 1970 +0000
       
   901   | | |    summary:     (3) collapse
       
   902   | | |
       
   903   o | |  changeset:   2:3d9a33b8d1e1
       
   904   |/ /   user:        test
       
   905   | |    date:        Thu Jan 01 00:00:02 1970 +0000
       
   906   | |    summary:     (2) collapse
       
   907   | |
       
   908   o |  changeset:   1:6db2ef61d156
       
   909   |/   user:        test
       
   910   |    date:        Thu Jan 01 00:00:01 1970 +0000
       
   911   |    summary:     (1) collapse
       
   912   |
       
   913   o  changeset:   0:e6eb3150255d
       
   914      user:        test
       
   915      date:        Thu Jan 01 00:00:00 1970 +0000
       
   916      summary:     (0) root
   685   
   917   
   686   show revision history alongside an ASCII revision graph
   918 
   687   [255]
   919 
   688 
   920 File glog per revset (only merges):
   689 Only one file is allowed:
   921 
   690   $ hg log -G foo bar
   922   $ hg log -G -r 'file("a")' -m
   691   abort: --graph option allows at most one file
   923   o    changeset:   32:d06dffa21a31
   692   [255]
   924   |\   parent:      27:886ed638191b
       
   925   | |  parent:      31:621d83e11f67
       
   926   | |  user:        test
       
   927   | |  date:        Thu Jan 01 00:00:32 1970 +0000
       
   928   | |  summary:     (32) expand
       
   929   | |
       
   930   o |  changeset:   31:621d83e11f67
       
   931   |\|  parent:      21:d42a756af44d
       
   932   | |  parent:      30:6e11cd4b648f
       
   933   | |  user:        test
       
   934   | |  date:        Thu Jan 01 00:00:31 1970 +0000
       
   935   | |  summary:     (31) expand
       
   936   | |
       
   937   o |    changeset:   30:6e11cd4b648f
       
   938   |\ \   parent:      28:44ecd0b9ae99
       
   939   | | |  parent:      29:cd9bb2be7593
       
   940   | | |  user:        test
       
   941   | | |  date:        Thu Jan 01 00:00:30 1970 +0000
       
   942   | | |  summary:     (30) expand
       
   943   | | |
       
   944   o | |    changeset:   28:44ecd0b9ae99
       
   945   |\ \ \   parent:      1:6db2ef61d156
       
   946   | | | |  parent:      26:7f25b6c2f0b9
       
   947   | | | |  user:        test
       
   948   | | | |  date:        Thu Jan 01 00:00:28 1970 +0000
       
   949   | | | |  summary:     (28) merge zero known
       
   950   | | | |
       
   951   o | | |    changeset:   26:7f25b6c2f0b9
       
   952   |\ \ \ \   parent:      18:1aa84d96232a
       
   953   | | | | |  parent:      25:91da8ed57247
       
   954   | | | | |  user:        test
       
   955   | | | | |  date:        Thu Jan 01 00:00:26 1970 +0000
       
   956   | | | | |  summary:     (26) merge one known; far right
       
   957   | | | | |
       
   958   | o-----+  changeset:   25:91da8ed57247
       
   959   | | | | |  parent:      21:d42a756af44d
       
   960   | | | | |  parent:      24:a9c19a3d96b7
       
   961   | | | | |  user:        test
       
   962   | | | | |  date:        Thu Jan 01 00:00:25 1970 +0000
       
   963   | | | | |  summary:     (25) merge one known; far left
       
   964   | | | | |
       
   965   | o | | |    changeset:   24:a9c19a3d96b7
       
   966   | |\ \ \ \   parent:      0:e6eb3150255d
       
   967   | | | | | |  parent:      23:a01cddf0766d
       
   968   | | | | | |  user:        test
       
   969   | | | | | |  date:        Thu Jan 01 00:00:24 1970 +0000
       
   970   | | | | | |  summary:     (24) merge one known; immediate right
       
   971   | | | | | |
       
   972   | o---+ | |  changeset:   23:a01cddf0766d
       
   973   | | | | | |  parent:      1:6db2ef61d156
       
   974   | | | | | |  parent:      22:e0d9cccacb5d
       
   975   | | | | | |  user:        test
       
   976   | | | | | |  date:        Thu Jan 01 00:00:23 1970 +0000
       
   977   | | | | | |  summary:     (23) merge one known; immediate left
       
   978   | | | | | |
       
   979   | o-------+  changeset:   22:e0d9cccacb5d
       
   980   | | | | | |  parent:      18:1aa84d96232a
       
   981   |/ / / / /   parent:      21:d42a756af44d
       
   982   | | | | |    user:        test
       
   983   | | | | |    date:        Thu Jan 01 00:00:22 1970 +0000
       
   984   | | | | |    summary:     (22) merge two known; one far left, one far right
       
   985   | | | | |
       
   986   | | | | o    changeset:   21:d42a756af44d
       
   987   | | | | |\   parent:      19:31ddc2c1573b
       
   988   | | | | | |  parent:      20:d30ed6450e32
       
   989   | | | | | |  user:        test
       
   990   | | | | | |  date:        Thu Jan 01 00:00:21 1970 +0000
       
   991   | | | | | |  summary:     (21) expand
       
   992   | | | | | |
       
   993   +-+-------o  changeset:   20:d30ed6450e32
       
   994   | | | | |    parent:      0:e6eb3150255d
       
   995   | | | | |    parent:      18:1aa84d96232a
       
   996   | | | | |    user:        test
       
   997   | | | | |    date:        Thu Jan 01 00:00:20 1970 +0000
       
   998   | | | | |    summary:     (20) merge two known; two far right
       
   999   | | | | |
       
  1000   | | | | o    changeset:   19:31ddc2c1573b
       
  1001   | | | | |\   parent:      15:1dda3f72782d
       
  1002   | | | | | |  parent:      17:44765d7c06e0
       
  1003   | | | | | |  user:        test
       
  1004   | | | | | |  date:        Thu Jan 01 00:00:19 1970 +0000
       
  1005   | | | | | |  summary:     (19) expand
       
  1006   | | | | | |
       
  1007   o---+---+ |  changeset:   18:1aa84d96232a
       
  1008     | | | | |  parent:      1:6db2ef61d156
       
  1009    / / / / /   parent:      15:1dda3f72782d
       
  1010   | | | | |    user:        test
       
  1011   | | | | |    date:        Thu Jan 01 00:00:18 1970 +0000
       
  1012   | | | | |    summary:     (18) merge two known; two far left
       
  1013   | | | | |
       
  1014   | | | | o    changeset:   17:44765d7c06e0
       
  1015   | | | | |\   parent:      12:86b91144a6e9
       
  1016   | | | | | |  parent:      16:3677d192927d
       
  1017   | | | | | |  user:        test
       
  1018   | | | | | |  date:        Thu Jan 01 00:00:17 1970 +0000
       
  1019   | | | | | |  summary:     (17) expand
       
  1020   | | | | | |
       
  1021   +-+-------o  changeset:   16:3677d192927d
       
  1022   | | | | |    parent:      0:e6eb3150255d
       
  1023   | | | | |    parent:      1:6db2ef61d156
       
  1024   | | | | |    user:        test
       
  1025   | | | | |    date:        Thu Jan 01 00:00:16 1970 +0000
       
  1026   | | | | |    summary:     (16) merge two known; one immediate right, one near right
       
  1027   | | | | |
       
  1028   | | | o |    changeset:   15:1dda3f72782d
       
  1029   | | | |\ \   parent:      13:22d8966a97e3
       
  1030   | | | | | |  parent:      14:8eac370358ef
       
  1031   | | | | | |  user:        test
       
  1032   | | | | | |  date:        Thu Jan 01 00:00:15 1970 +0000
       
  1033   | | | | | |  summary:     (15) expand
       
  1034   | | | | | |
       
  1035   +-------o |  changeset:   14:8eac370358ef
       
  1036   | | | | |/   parent:      0:e6eb3150255d
       
  1037   | | | | |    parent:      12:86b91144a6e9
       
  1038   | | | | |    user:        test
       
  1039   | | | | |    date:        Thu Jan 01 00:00:14 1970 +0000
       
  1040   | | | | |    summary:     (14) merge two known; one immediate right, one far right
       
  1041   | | | | |
       
  1042   | | | o |    changeset:   13:22d8966a97e3
       
  1043   | | | |\ \   parent:      9:7010c0af0a35
       
  1044   | | | | | |  parent:      11:832d76e6bdf2
       
  1045   | | | | | |  user:        test
       
  1046   | | | | | |  date:        Thu Jan 01 00:00:13 1970 +0000
       
  1047   | | | | | |  summary:     (13) expand
       
  1048   | | | | | |
       
  1049   | +---+---o  changeset:   12:86b91144a6e9
       
  1050   | | | | |    parent:      1:6db2ef61d156
       
  1051   | | | | |    parent:      9:7010c0af0a35
       
  1052   | | | | |    user:        test
       
  1053   | | | | |    date:        Thu Jan 01 00:00:12 1970 +0000
       
  1054   | | | | |    summary:     (12) merge two known; one immediate right, one far left
       
  1055   | | | | |
       
  1056   | | | | o    changeset:   11:832d76e6bdf2
       
  1057   | | | | |\   parent:      6:b105a072e251
       
  1058   | | | | | |  parent:      10:74c64d036d72
       
  1059   | | | | | |  user:        test
       
  1060   | | | | | |  date:        Thu Jan 01 00:00:11 1970 +0000
       
  1061   | | | | | |  summary:     (11) expand
       
  1062   | | | | | |
       
  1063   +---------o  changeset:   10:74c64d036d72
       
  1064   | | | | |/   parent:      0:e6eb3150255d
       
  1065   | | | | |    parent:      6:b105a072e251
       
  1066   | | | | |    user:        test
       
  1067   | | | | |    date:        Thu Jan 01 00:00:10 1970 +0000
       
  1068   | | | | |    summary:     (10) merge two known; one immediate left, one near right
       
  1069   | | | | |
       
  1070   | | | o |    changeset:   9:7010c0af0a35
       
  1071   | | | |\ \   parent:      7:b632bb1b1224
       
  1072   | | | | | |  parent:      8:7a0b11f71937
       
  1073   | | | | | |  user:        test
       
  1074   | | | | | |  date:        Thu Jan 01 00:00:09 1970 +0000
       
  1075   | | | | | |  summary:     (9) expand
       
  1076   | | | | | |
       
  1077   +-------o |  changeset:   8:7a0b11f71937
       
  1078   | | | |/ /   parent:      0:e6eb3150255d
       
  1079   | | | | |    parent:      7:b632bb1b1224
       
  1080   | | | | |    user:        test
       
  1081   | | | | |    date:        Thu Jan 01 00:00:08 1970 +0000
       
  1082   | | | | |    summary:     (8) merge two known; one immediate left, one far right
       
  1083   | | | | |
       
  1084   | | | o |    changeset:   7:b632bb1b1224
       
  1085   | | | |\ \   parent:      2:3d9a33b8d1e1
       
  1086   | | | | | |  parent:      5:4409d547b708
       
  1087   | | | | | |  user:        test
       
  1088   | | | | | |  date:        Thu Jan 01 00:00:07 1970 +0000
       
  1089   | | | | | |  summary:     (7) expand
       
  1090   | | | | | |
       
  1091   | | | +---o  changeset:   6:b105a072e251
       
  1092   | | | | |/   parent:      2:3d9a33b8d1e1
       
  1093   | | | | |    parent:      5:4409d547b708
       
  1094   | | | | |    user:        test
       
  1095   | | | | |    date:        Thu Jan 01 00:00:06 1970 +0000
       
  1096   | | | | |    summary:     (6) merge two known; one immediate left, one far left
       
  1097   | | | | |
       
  1098   | | | o |    changeset:   5:4409d547b708
       
  1099   | | | |\ \   parent:      3:27eef8ed80b4
       
  1100   | | | | | |  parent:      4:26a8bac39d9f
       
  1101   | | | | | |  user:        test
       
  1102   | | | | | |  date:        Thu Jan 01 00:00:05 1970 +0000
       
  1103   | | | | | |  summary:     (5) expand
       
  1104   | | | | | |
       
  1105   | +---o | |  changeset:   4:26a8bac39d9f
       
  1106   | | | |/ /   parent:      1:6db2ef61d156
       
  1107   | | | | |    parent:      3:27eef8ed80b4
       
  1108   | | | | |    user:        test
       
  1109   | | | | |    date:        Thu Jan 01 00:00:04 1970 +0000
       
  1110   | | | | |    summary:     (4) merge two known; one immediate left, one immediate right
       
  1111   | | | | |
       
  1112 
   693 
  1113 
   694 Empty revision range - display nothing:
  1114 Empty revision range - display nothing:
   695   $ hg glog -r 1..0
  1115   $ hg glog -r 1..0
   696 
  1116 
   697 From outer space:
  1117 From outer space:
   866   | | |  user:        test
  1286   | | |  user:        test
   867   | | |  date:        Thu Jan 01 00:00:32 1970 +0000
  1287   | | |  date:        Thu Jan 01 00:00:32 1970 +0000
   868   | | |  summary:     (32) expand
  1288   | | |  summary:     (32) expand
   869   | | |
  1289   | | |
   870 
  1290 
       
  1291 Point out a common and an uncommon unshown parent
       
  1292 
       
  1293   $ hg glog -r 'rev(8) or rev(9)'
       
  1294   o    changeset:   9:7010c0af0a35
       
  1295   |\   parent:      7:b632bb1b1224
       
  1296   | |  parent:      8:7a0b11f71937
       
  1297   | |  user:        test
       
  1298   | |  date:        Thu Jan 01 00:00:09 1970 +0000
       
  1299   | |  summary:     (9) expand
       
  1300   | |
       
  1301   o |  changeset:   8:7a0b11f71937
       
  1302   |\|  parent:      0:e6eb3150255d
       
  1303   | |  parent:      7:b632bb1b1224
       
  1304   | |  user:        test
       
  1305   | |  date:        Thu Jan 01 00:00:08 1970 +0000
       
  1306   | |  summary:     (8) merge two known; one immediate left, one far right
       
  1307   | |
       
  1308 
   871 File + limit + -ra:b, b < tip:
  1309 File + limit + -ra:b, b < tip:
       
  1310 
   872   $ hg glog -l1 -r32:34 a
  1311   $ hg glog -l1 -r32:34 a
   873   o  changeset:   34:fea3ac5810e0
  1312   o  changeset:   34:fea3ac5810e0
   874   |  parent:      32:d06dffa21a31
  1313   |  parent:      32:d06dffa21a31
   875   |  user:        test
  1314   |  user:        test
   876   |  date:        Thu Jan 01 00:00:34 1970 +0000
  1315   |  date:        Thu Jan 01 00:00:34 1970 +0000
   877   |  summary:     (34) head
  1316   |  summary:     (34) head
   878   |
  1317   |
   879 
  1318 
       
  1319 file(File) + limit + -ra:b, b < tip:
       
  1320 
       
  1321   $ hg glog -l1 -r32:34 -r 'file("a")'
       
  1322   o  changeset:   34:fea3ac5810e0
       
  1323   |  parent:      32:d06dffa21a31
       
  1324   |  user:        test
       
  1325   |  date:        Thu Jan 01 00:00:34 1970 +0000
       
  1326   |  summary:     (34) head
       
  1327   |
       
  1328 
       
  1329 limit(file(File) and a::b), b < tip:
       
  1330 
       
  1331   $ hg glog -r 'limit(file("a") and 32::34, 1)'
       
  1332   o    changeset:   32:d06dffa21a31
       
  1333   |\   parent:      27:886ed638191b
       
  1334   | |  parent:      31:621d83e11f67
       
  1335   | |  user:        test
       
  1336   | |  date:        Thu Jan 01 00:00:32 1970 +0000
       
  1337   | |  summary:     (32) expand
       
  1338   | |
       
  1339 
       
  1340 File + limit + -ra:b, b < tip:
       
  1341 
       
  1342   $ hg glog -r 'limit(file("a") and 34::32, 1)'
       
  1343 
   880 File + limit + -ra:b, b < tip, (b - a) < limit:
  1344 File + limit + -ra:b, b < tip, (b - a) < limit:
       
  1345 
   881   $ hg glog -l10 -r33:34 a
  1346   $ hg glog -l10 -r33:34 a
   882   o  changeset:   34:fea3ac5810e0
  1347   o  changeset:   34:fea3ac5810e0
   883   |  parent:      32:d06dffa21a31
  1348   |  parent:      32:d06dffa21a31
   884   |  user:        test
  1349   |  user:        test
   885   |  date:        Thu Jan 01 00:00:34 1970 +0000
  1350   |  date:        Thu Jan 01 00:00:34 1970 +0000