mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 16:31:02 +03:00
cf0380dccb
Summary: Handling of mutable renames was incorrect for two reasons: 1) We didn't add an entry to history graph, so only a single changeset before rename was returned. That was easy to "fix" (just add a new entry to history graph), but... 2) ...all history operations now have to use a different path (the source of the rename path). To fix it let's track not just the changeset id, but also the path for the given changeset id. Since the path can potentially be large I wrapped it into Arc to avoid expensive clones. Differential Revision: D30576342 fbshipit-source-id: a99f6269c34b0a0c626104ec47c9392f984328fb |
||
---|---|---|
.. | ||
src | ||
tunables-derive | ||
Cargo.toml |