mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 14:58:03 +03:00
1dcb7966fc
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
55 lines
852 B
Perl
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
|
|
|