sapling/bundle2_resolver
Jun Wu 150f6f7f6b mononoke: add bookmark config to disable pushrebase date rewrite
Summary:
There was a request about importing a GitHub repo into fbsource. While pushing
it to Mononoke with pushrebase disabled, the sync job broke because it can only
handle pushrebase pushes.

Before this diff, pushrebase has a repo-level config about whether dates need
to be rewritten. We definitely want "master" to have date rewritten turned on,
but not the imported commits. This diff adds logic to turn off date rewriting
for bookmarks by using the `rewrite_dates` config, to address the repo import
requirement.

Reviewed By: StanislavGlebik

Differential Revision: D15291030

fbshipit-source-id: 8dcf8359d7de9ac33f0af6f9ab3bcbac424323e4
2019-05-21 12:25:55 -07:00
..
obsolete/src mononoke: add obsmarkers to pushrebase output 2019-05-21 12:25:17 -07:00
pushrebase/src mononoke: add obsmarkers to pushrebase output 2019-05-21 12:25:17 -07:00
scribe_commit_queue/src Log pushrebase commits to scribe 2019-03-12 04:50:45 -07:00
src mononoke: add bookmark config to disable pushrebase date rewrite 2019-05-21 12:25:55 -07:00
wirepack/src mononoke: rename crates to contain underscores instead of dashes 2019-03-06 07:18:28 -08:00
Cargo.toml mononoke: rename crates to contain underscores instead of dashes 2019-03-06 07:18:28 -08:00