mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 00:45:18 +03:00
d90be19909
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
40 lines
575 B
Perl
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
|
|
|