mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-16 00:56:23 +00:00
e1fd69cfa8
If you rewrite a change twice, from A to A' to A'', then undo the operation that created A', you'll end up with a repo where A'' refers to commit (A') that's not reachable from any head in the view. We currently crash when that happens. This change fixes the crash. Undoing the A' operation now instead produces a state where A and A'' are divergent. That at least makes some sense. This may not seem important since I'm working on removing support for evolution (#32), but I wanted to get it fixed in order to help with the transition off of evolution. Specifically, I want to be able to start removing old heads more freely. This closes #28. |
||
---|---|---|
.. | ||
benches | ||
protos | ||
src | ||
tests | ||
build.rs | ||
Cargo.toml |