mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
ec0b533381
Summary: Debug output belongs to stderr. This makes it possible to turn on debug output without breaking programs parsing stdout. Reviewed By: singhsrb Differential Revision: D25315954 fbshipit-source-id: c7813a824fbf6640cb5b80b5ed2d947e7059d53e
40 lines
699 B
Raku
40 lines
699 B
Raku
#chg-compatible
|
|
|
|
$ enable rebase
|
|
$ setconfig phases.publish=false
|
|
|
|
Rebasing using a single transaction
|
|
|
|
$ hg init singletr && cd singletr
|
|
$ setconfig rebase.singletransaction=true
|
|
$ 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 2>&1 | grep 'status stored'
|
|
rebase status stored
|
|
rebase status stored
|
|
$ tglog
|
|
o a701fddfacec 'D' D
|
|
│
|
|
o abc67d0cf023 'C' C
|
|
│
|
|
o 9a6b5541d0c0 'B' B
|
|
│
|
|
o e9b22a392ce0 'Z' Z
|
|
│
|
|
o 633ae0eca5f4 'Y' Y
|
|
│
|
|
o 426bada5c675 'A' A
|
|
|
|
$ cd ..
|