mirror of
https://github.com/facebook/sapling.git
synced 2024-12-29 16:12:23 +03:00
73c5cb89de
Summary: This mitigates loading order issues demonstrated by the previous diff. Reviewed By: DurhamG Differential Revision: D21148446 fbshipit-source-id: 40e4861055822b4676f3ac38d0f004b365efe86d
28 lines
532 B
Perl
28 lines
532 B
Perl
#chg-compatible
|
|
|
|
$ configure modern
|
|
$ setconfig ui.allowemptycommit=1
|
|
|
|
$ newrepo
|
|
$ echo A | hg debugdrawdag
|
|
|
|
Active bookmark.
|
|
|
|
$ hg up A -q
|
|
|
|
Read bookmark while updating it.
|
|
|
|
With metalog it works fine:
|
|
|
|
$ hg log -r A -T '{desc}\n' --config hooks.pre-bookmark-load='hg commit -m A2'
|
|
A
|
|
|
|
$ hg log -r A -T '{desc}\n' --config hooks.pre-bookmark-load='hg commit -m A3'
|
|
A2
|
|
|
|
Without metalog:
|
|
|
|
$ setconfig experimental.metalog=false
|
|
$ hg log -r A -T '{desc}\n' --config hooks.pre-bookmark-load='hg commit -m A4'
|
|
A4
|