--- a/tests/test-rebase-interruptions.t Fri Jun 30 23:15:09 2017 -0700
+++ b/tests/test-rebase-interruptions.t Sat Jul 01 15:13:09 2017 -0400
@@ -333,7 +333,12 @@
$ cp -R a3 hook-pretxncommit
$ cd hook-pretxncommit
- $ hg rebase --source 2 --dest 5 --tool internal:other --config 'hooks.pretxncommit=hg log -r $HG_NODE | grep "summary: C"'
+#if windows
+ $ NODE="%HG_NODE%"
+#else
+ $ NODE="\$HG_NODE"
+#endif
+ $ hg rebase --source 2 --dest 5 --tool internal:other --config "hooks.pretxncommit=hg log -r $NODE | grep \"summary: C\""
rebasing 2:965c486023db "C"
summary: C
rebasing 6:a0b2430ebfb8 "F" (tip)