sapling/eden/scm/tests/test-undo-narrow-heads.t
Jun Wu 9bf6b674a6 config: use Rust graph render as default
Summary: Change the legacy Python graph render to Rust renderer.

Reviewed By: DurhamG

Differential Revision: D24317802

fbshipit-source-id: 4c3dc3a6dd02b7ebe79596a8e77f4b6b139d2e20
2020-10-19 17:07:30 -07:00

40 lines
588 B
Perl

#require py2
#chg-compatible
$ configure mutation
$ enable undo remotenames
$ setconfig extensions.extralog="$TESTDIR/extralog.py"
$ setconfig experimental.narrow-heads=true ui.interactive=true
$ newrepo
$ drawdag << 'EOS'
> B
> |
> A
> EOS
$ drawdag << 'EOS'
> C
> /
> A
> EOS
$ hg undo
undone to *, before book -fd A C (glob)
$ hg undo
undone to *, before debugdrawdag * (glob)
$ hg log -GT '{desc}'
o B
o A
$ hg redo
undone to *, before undo (glob)
$ hg log -GT '{desc}'
o C
o B
o A