Show More
@@ -470,7 +470,14 b' This is an excuse to test hook with hist' | |||
|
470 | 470 | 1:199b6bb90248 b |
|
471 | 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 | 481 | > pick 199b6bb90248 b |
|
475 | 482 | > fold a1a953ffb4b0 c |
|
476 | 483 | > pick 6c795aa153cb a |
General Comments 0
You need to be logged in to leave comments.
Login now