sapling/eden/scm/tests/test-undo-narrow-heads.t
Jun Wu d90be19909 remotenames: disable old autopull if the new autopull is enabled
Summary:
The new auto pull logic can replace the one in remotenames. It it goes well, we
can then remove the code in remotenames doing the auto pull.

Reviewed By: sfilipco

Differential Revision: D20804853

fbshipit-source-id: c87b6b382f4cce3b306648b305a7b6bbaec05df1
2020-04-24 11:16:21 -07:00

40 lines
575 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