sapling/tests/test-rebase-transaction.t
Jun Wu 8c4a52d608 config: enable obsstore by default
Summary:
This makes tests closer to production setup and removes a bunch of "saved
backup bundle to ..." messages.

With D9236657, this should not hurt server-side performance.

Unfortunately a lot tests cannot be migrated easily, mostly because revision
numbers are used. They are left with a TODO.

Reviewed By: DurhamG

Differential Revision: D9237694

fbshipit-source-id: c993fce18f07aba09f6d70964e248af8d501575a
2018-10-26 18:54:40 -07:00

48 lines
844 B
Raku

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'
|
o 4: abc67d0cf023 'C'
|
o 3: 9a6b5541d0c0 'B'
|
o 2: e9b22a392ce0 'Z'
|
o 1: 633ae0eca5f4 'Y'
|
o 0: 426bada5c675 'A'
$ cd ..