sapling/eden/scm/tests/test-rebase-transaction.t
Durham Goode e1c73204f6 drawdag: use bookmarks instead of tags
Summary:
A future diff will remove tags entirely, so let's move drawdag to be
bookmark based.

Reviewed By: quark-zju

Differential Revision: D18995059

fbshipit-source-id: 70ef67259b37ef9821009d0145aa1e03c09b1309
2019-12-20 16:14:18 -08:00

50 lines
873 B
Raku

#chg-compatible
TODO: Make this test compatibile with obsstore enabled.
$ setconfig experimental.evolution=
$ cat >> $HGRCPATH <<EOF
> [extensions]
> rebase=
>
> [phases]
> publish=False
> EOF
Rebasing using a single transaction
$ hg init singletr && cd singletr
$ cat >> .hg/hgrc <<EOF
> [rebase]
> singletransaction=True
> EOF
$ hg debugdrawdag <<'EOF'
> Z
> |
> | D
> | |
> | C
> | |
> Y B
> |/
> A
> EOF
- We should only see two status stored messages. One from the start, one from
- the end.
$ hg rebase --debug -b D -d Z | grep 'status stored'
rebase status stored
rebase status stored
$ tglog
o 5: a701fddfacec 'D' D
|
o 4: abc67d0cf023 'C' C
|
o 3: 9a6b5541d0c0 'B' B
|
o 2: e9b22a392ce0 'Z' Z
|
o 1: 633ae0eca5f4 'Y' Y
|
o 0: 426bada5c675 'A' A
$ cd ..