tests/test-obsmarker-template.t
changeset 41722 37b33c34bf4f
parent 41152 191fac9ff9d3
child 42893 34a46d48d24e
equal deleted inserted replaced
41721:eb8a8af4cbd0 41722:37b33c34bf4f
  2427   o  changeset:   0:ea207398892e
  2427   o  changeset:   0:ea207398892e
  2428      user:        test
  2428      user:        test
  2429      date:        Thu Jan 01 00:00:00 1970 +0000
  2429      date:        Thu Jan 01 00:00:00 1970 +0000
  2430      summary:     ROOT
  2430      summary:     ROOT
  2431   
  2431   
       
  2432 Check that {negrev} shows usable negative revisions despite hidden commits
       
  2433 
       
  2434   $ hg log -G -T "{negrev}\n"
       
  2435   @  -3
       
  2436   |
       
  2437   o  -4
       
  2438   
       
  2439 
       
  2440   $ hg log -G -T "{negrev}\n" --hidden
       
  2441   x  -1
       
  2442   |
       
  2443   | x  -2
       
  2444   |/
       
  2445   | @  -3
       
  2446   |/
       
  2447   o  -4
       
  2448   
  2432 
  2449 
  2433 Test templates with splitted and pruned commit
  2450 Test templates with splitted and pruned commit
  2434 ==============================================
  2451 ==============================================
  2435 
  2452 
  2436   $ hg init $TESTTMP/templates-local-split-prune
  2453   $ hg init $TESTTMP/templates-local-split-prune
  2637   |/     Obsfate: rewritten using amend as 3:1132562159b3 by t\xc3\xa8st2 (at 1970-01-01 00:00 +0000); (esc)
  2654   |/     Obsfate: rewritten using amend as 3:1132562159b3 by t\xc3\xa8st2 (at 1970-01-01 00:00 +0000); (esc)
  2638   | x  5f66a482f0bb
  2655   | x  5f66a482f0bb
  2639   |/     Obsfate: rewritten using amend as 2:718c0d00cee1 by test (at 1970-01-01 00:00 +0000);
  2656   |/     Obsfate: rewritten using amend as 2:718c0d00cee1 by test (at 1970-01-01 00:00 +0000);
  2640   o  ea207398892e
  2657   o  ea207398892e
  2641   
  2658   
       
  2659   $ hg log -G -T "{negrev}\n"
       
  2660   @  -1
       
  2661   |
       
  2662   o  -2
       
  2663   |
       
  2664   o  -5
       
  2665