tests/test-histedit-fold.t
changeset 23390 6a3e38a173ec
parent 23129 eb315418224c
child 23587 8063901e56cd
equal deleted inserted replaced
23389:ce209c9d0aad 23390:6a3e38a173ec
   468   $ hg logt
   468   $ hg logt
   469   2:a1a953ffb4b0 c
   469   2:a1a953ffb4b0 c
   470   1:199b6bb90248 b
   470   1:199b6bb90248 b
   471   0:6c795aa153cb a
   471   0:6c795aa153cb a
   472 
   472 
   473   $ hg histedit 6c795aa153cb --config hooks.commit="echo commit \$HG_NODE" --commands - 2>&1 << EOF | fixbundle
   473 Setup the proper environment variable symbol for the platform, to be subbed
       
   474 into the hook command.
       
   475 #if windows
       
   476   $ NODE="%HG_NODE%"
       
   477 #else
       
   478   $ NODE="\$HG_NODE"
       
   479 #endif
       
   480   $ hg histedit 6c795aa153cb --config hooks.commit="echo commit $NODE" --commands - 2>&1 << EOF | fixbundle
   474   > pick 199b6bb90248 b
   481   > pick 199b6bb90248 b
   475   > fold a1a953ffb4b0 c
   482   > fold a1a953ffb4b0 c
   476   > pick 6c795aa153cb a
   483   > pick 6c795aa153cb a
   477   > EOF
   484   > EOF
   478   0 files updated, 0 files merged, 3 files removed, 0 files unresolved
   485   0 files updated, 0 files merged, 3 files removed, 0 files unresolved