comparison tests/test-rebase-interruptions.t @ 38722:2009d84f245a

hook: disable the shell to native command translation by default There are other things I want to add like ~ expansion and translating single to double quotes for cmd.exe. So off by default is safer. I'm having second thoughts about the name, but I don't have any better ideas.
author Matt Harbison <matt_harbison@yahoo.com>
date Sun, 15 Jul 2018 23:46:09 -0400
parents e9e61fbac787
children 09680349cc2d
comparison
equal deleted inserted replaced
38721:dbbe45ae5ad1 38722:2009d84f245a
331 331
332 (pretxncommit version) 332 (pretxncommit version)
333 333
334 $ cp -R a3 hook-pretxncommit 334 $ cp -R a3 hook-pretxncommit
335 $ cd hook-pretxncommit 335 $ cd hook-pretxncommit
336 $ hg rebase --source 2 --dest 5 --tool internal:other --config 'hooks.pretxncommit=hg log -r $HG_NODE | grep "summary: C"' 336 $ hg rebase --source 2 --dest 5 --tool internal:other \
337 > --config 'hooks.tonative.pretxncommit=True' --config 'hooks.pretxncommit=hg log -r $HG_NODE | grep "summary: C"'
337 rebasing 2:965c486023db "C" 338 rebasing 2:965c486023db "C"
338 summary: C 339 summary: C
339 rebasing 6:a0b2430ebfb8 "F" (tip) 340 rebasing 6:a0b2430ebfb8 "F" (tip)
340 transaction abort! 341 transaction abort!
341 rollback completed 342 rollback completed