sapling/eden/scm/edenscm
Liubov Dmitrieva 9f3609ec51 implement omision of old public bookmarks
Summary:
don't apply an old public bookmark if the commit is older than max_sync_age

there is a complicated logic because we need to make sure if we later run it with different commitcloud.max_sync_age value or hg cloud sync --full the bookmarks will be appear back.

So, the changes required in both:

* checkomission
* _mergebookmarks

but both cases covered in the tests

also, if you run with max_sync_age=1000 and later max_sync_age=0, the bookmarks will not disappear, which is expected.

Reviewed By: markbt

Differential Revision: D28572875

fbshipit-source-id: 317e897a2b81c3371dbea7eb39b8925570c1d40a
2021-05-21 06:31:04 -07:00
..
hgdemandimport Back out "log: backout D24293498 about prefetching commit data" 2020-11-06 16:25:00 -08:00
hgext implement omision of old public bookmarks 2021-05-21 06:31:04 -07:00
mercurial pull: use bookmark http api 2021-05-20 17:28:51 -07:00
__init__.py apply pyfmt with usort to opted-in sources 2020-11-10 21:25:54 -08:00
__main__.py edenscm: add a main module 2020-01-30 18:09:14 -08:00
hooks.py py3: fix conflictinfo compatibility 2020-09-01 18:31:35 -07:00
traceimport.py debugshell: improve "%trace" UX 2020-09-01 13:49:13 -07:00
tracing.py tracing: add isenabled 2021-04-21 09:25:49 -07:00