mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 08:18:15 +03:00
acca78ca5f
Summary: `commit_lookup_pushrebase_history` is an endpoint that tries to traverse Pushrebase and Commit Sync mappings to find the commit's pushed version for a landed commit. But currently it traverses Commit Sync mapping blindly because it doesn't know the sync direction. This can (very rare) lead to an inaccurate result. Let's use the `source_repo` column I've introduced in this diff stack and don't traverse in the wrong direction if we know it is wrong. Reviewed By: StanislavGlebik Differential Revision: D30975759 fbshipit-source-id: 9c5ecf059dcdebf0c91f0c5545f0c6e95610c2ec |
||
---|---|---|
.. | ||
client | ||
if |