tests/test-rebase-interruptions.t
changeset 33173 4b0da963586d
parent 33139 40ee74bfa111
child 33332 3b7cb3d17137
equal deleted inserted replaced
33172:0830c841fc7f 33173:4b0da963586d
   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 #if windows
       
   337   $ NODE="%HG_NODE%"
       
   338 #else
       
   339   $ NODE="\$HG_NODE"
       
   340 #endif
       
   341   $ hg rebase --source 2 --dest 5 --tool internal:other --config "hooks.pretxncommit=hg log -r $NODE | grep \"summary:     C\""
   337   rebasing 2:965c486023db "C"
   342   rebasing 2:965c486023db "C"
   338   summary:     C
   343   summary:     C
   339   rebasing 6:a0b2430ebfb8 "F" (tip)
   344   rebasing 6:a0b2430ebfb8 "F" (tip)
   340   transaction abort!
   345   transaction abort!
   341   rollback completed
   346   rollback completed