sapling/eden/scm/tests/test-log-simplify-grandparents.t
Muir Manders 1dcb7966fc tests: turn on eagerepo for a bunch of tests
Summary: These are the tests that passed after adding "$ eagerepo". I attempted to turn on eagerepo for all tests that didn't contain "$ eagerepo" or "configure modern".

Reviewed By: quark-zju

Differential Revision: D44445379

fbshipit-source-id: b283be6d5249f74e11a3205622961e457587e93b
2023-04-04 08:42:03 -07:00

55 lines
852 B
Perl

#debugruntest-compatible
$ eagerepo
$ newrepo
$ drawdag << 'EOS'
> E
> |
> D
> |\
> B C
> |/
> A
> EOS
$ hg bookmark -r $A v1
$ hg bookmark -r $B v2
$ hg bookmark -r $E v3
$ hg debugmakepublic -r $E
With simplify-grandparents disabled:
$ setconfig log.simplify-grandparents=0
$ hg smartlog -T '{desc} {bookmarks}' --config extensions.smartlog=
o E v3
o B v2
o A v1
$ hg log -Gr 'bookmark()' -T '{desc} {bookmarks}'
o E v3
o B v2
o A v1
With simplify-grandparents enabled:
$ setconfig log.simplify-grandparents=1
$ hg smartlog -T '{desc} {bookmarks}' --config extensions.smartlog=
o E v3
o B v2
o A v1
$ hg log -Gr 'bookmark()' -T '{desc} {bookmarks}'
o E v3
o B v2
o A v1