-
Pierre-Yves David authored
Same rational as the parent changeset.
Pierre-Yves David authoredSame rational as the parent changeset.
test-phases-exchange.t 42.08 KiB
$ cat >> $HGRCPATH << EOF
> [extensions]
> drawdag=$TESTDIR/drawdag.py
> phasereport=$TESTDIR/testlib/ext-phase-report.py
> EOF
$ hgph() { hg log -G --template "{rev} {phase} {desc} - {node|short}\n" $*; }
$ mkcommit() {
> echo "$1" > "$1"
> hg add "$1"
> message="$1"
> shift
> hg ci -m "$message" $*
> }
$ hg init alpha
$ cd alpha
$ mkcommit a-A
test-debug-phase: new rev 0: x -> 1
$ mkcommit a-B
test-debug-phase: new rev 1: x -> 1
$ mkcommit a-C
test-debug-phase: new rev 2: x -> 1
$ mkcommit a-D
test-debug-phase: new rev 3: x -> 1
$ hgph
@ 3 draft a-D - b555f63b6063
|
o 2 draft a-C - 54acac6f23ab
|
o 1 draft a-B - 548a3d25dbf0
|
o 0 draft a-A - 054250a37db4
$ hg init ../beta
$ hg push -r 1 ../beta
pushing to ../beta
searching for changes
adding changesets
adding manifests
adding file changes
added 2 changesets with 2 changes to 2 files
test-debug-phase: new rev 0: x -> 0
test-debug-phase: new rev 1: x -> 0
test-debug-phase: move rev 0: 1 -> 0
test-debug-phase: move rev 1: 1 -> 0
$ hgph
@ 3 draft a-D - b555f63b6063
|
o 2 draft a-C - 54acac6f23ab
|
o 1 public a-B - 548a3d25dbf0
|
o 0 public a-A - 054250a37db4
$ cd ../beta
$ hgph
o 1 public a-B - 548a3d25dbf0
|
o 0 public a-A - 054250a37db4
$ hg up -q
$ mkcommit b-A
test-debug-phase: new rev 2: x -> 1
$ hgph
@ 2 draft b-A - f54f1bb90ff3
|