comparison tests/test-split.t @ 2771:6044bd16bfb7

split: add support for the -D and -U option
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sun, 23 Jul 2017 07:34:18 +0200
parents a9ea16a1f4dc
children 1d16c9dcb825
comparison
equal deleted inserted replaced
2770:a9ea16a1f4dc 2771:6044bd16bfb7
397 $ echo "topic=$(echo $(dirname $TESTDIR))/hgext3rd/topic/" >> $HGRCPATH 397 $ echo "topic=$(echo $(dirname $TESTDIR))/hgext3rd/topic/" >> $HGRCPATH
398 $ hg topic mytopic 398 $ hg topic mytopic
399 $ echo babar > babar 399 $ echo babar > babar
400 $ echo celeste > celeste 400 $ echo celeste > celeste
401 $ hg add babar celeste 401 $ hg add babar celeste
402 $ hg commit -m "Works on mytopic" babar celeste 402 $ hg commit -m "Works on mytopic" babar celeste --user victor
403 $ hg log -r .
404 changeset: 21:26f72cfaf036
405 branch: new-branch
406 tag: tip
407 topic: mytopic
408 user: victor
409 date: Thu Jan 01 00:00:00 1970 +0000
410 summary: Works on mytopic
411
403 $ hg summary 412 $ hg summary
404 parent: 21:0a160c9fe1dd tip 413 parent: 21:26f72cfaf036 tip
405 Works on mytopic 414 Works on mytopic
406 branch: new-branch 415 branch: new-branch
407 commit: 2 unknown (clean) 416 commit: 2 unknown (clean)
408 update: (current) 417 update: (current)
409 phases: 9 draft 418 phases: 9 draft
410 topic: mytopic 419 topic: mytopic
411 420
412 Split it 421 Split it
413 422
414 $ hg split << EOF 423 $ hg split -U << EOF
415 > Y 424 > Y
416 > Y 425 > Y
417 > N 426 > N
418 > Y 427 > Y
419 > Y 428 > Y