mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 00:45:18 +03:00
ea794c29b4
Summary: One of the things that megarepo_tool can do is to manually rewrite a commit from one repo to another with a particular commit remapping version. e.g. ``` source repo X | P target repo X' <- rewritten X | A <- commit that exists only in target repo | P' <- rewritten P ``` Previously it always required manually setting the parents in the target repo i.e. in the example above we'd need to tell that A is the new parent of rewritten commit. However this is not always convenient. Sometimes we just want megarepo_tool to take parents in the source repo (i.e. P in the example above), remap them to large repo (i.e. P' in the example above), and use P' as a target repo parent. This diff adds a special option that lets us do so. Reviewed By: farnz Differential Revision: D30040016 fbshipit-source-id: 116dbe1803857053336ca76d0a65dbca8b14bd73 |
||
---|---|---|
.. | ||
backsyncer | ||
bookmark_renaming | ||
bookmarks_validator | ||
commit_validator | ||
cross_repo_sync | ||
live_commit_sync_config | ||
megarepo | ||
mononoke_x_repo_sync_job | ||
movers | ||
synced_commit_mapping |