mirror of
https://github.com/facebook/sapling.git
synced 2024-10-05 14:28:17 +03:00
d191b7c6aa
Summary:
When the master bookmark moved backwards, clients may have old location of the bookmark pulled locally. It was failing due to the fact that server couldn't find that bookmark location in it's IdMap.
Let's allow SC to build idMap in memory up to the client heads so it can correctly respond to the pull request.
We will only check some number of parent commits from the client head to check if they are ancesstors of master to avoid expensive SC rebuilds. And we still need to check for the merge commits with large number of commits not in the SC. (D33654925 (
|
||
---|---|---|
.. | ||
fs | ||
hg-server | ||
integration | ||
locale | ||
mononoke | ||
scm | ||
test_support | ||
test-data | ||
.gitignore | ||
.mononoke_test_file | ||
Eden.project.toml |