mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
9bf6b674a6
Summary: Change the legacy Python graph render to Rust renderer. Reviewed By: DurhamG Differential Revision: D24317802 fbshipit-source-id: 4c3dc3a6dd02b7ebe79596a8e77f4b6b139d2e20
40 lines
588 B
Perl
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
|
|
|