mirror of
https://github.com/facebook/sapling.git
synced 2024-12-29 08:02:24 +03:00
e0e01cbc81
Summary: This broke a bunch of tests. Revert it and re-enable all the tests. Reviewed By: DurhamG Differential Revision: D19665042 fbshipit-source-id: c3c17e3ac7e2ea028be5b5836bc8349cdf56184e
31 lines
652 B
Perl
31 lines
652 B
Perl
#chg-compatible
|
|
|
|
$ newrepo
|
|
$ enable smartlog
|
|
$ setconfig ui.allowemptycommit=1 phases.publish=False smartlog.master=master
|
|
$ drawdag << 'EOS'
|
|
> B C # B has date 100000 0
|
|
> |/ # C has date 200000 0
|
|
> A
|
|
> EOS
|
|
$ hg bookmark -ir $A master
|
|
$ hg sl --config smartlog.hide-before='10000 0' -T '{desc}'
|
|
o C
|
|
|
|
|
| o B
|
|
|/
|
|
o A
|
|
|
|
$ hg sl --config smartlog.hide-before='150000 0' -T '{desc}'
|
|
o C
|
|
|
|
|
o A
|
|
|
|
note: hiding 1 old heads without bookmarks
|
|
(use --all to see them)
|
|
$ hg sl --config smartlog.hide-before='250000 0' -T '{desc}'
|
|
o A
|
|
|
|
note: hiding 2 old heads without bookmarks
|
|
(use --all to see them)
|