sapling/eden/scm/tests/test-undo-narrow-heads.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

51 lines
667 B
Perl

#chg-compatible
$ cat >> $HGRCPATH <<EOF
> [extensions]
> undo=
> remotenames=
> extralog=$TESTDIR/extralog.py
> [experimental]
> evolution=
> narrow-heads=true
> [visibility]
> enabled=true
> [mutation]
> enabled=true
> date=0 0
> [ui]
> interactive = true
> EOF
$ 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