martinvonz / jj

A Git-compatible VCS that is both simple and powerful
https://martinvonz.github.io/jj/
Apache License 2.0
8.32k stars 284 forks source link

improve error message when missing ops head #3934

Open calvin-wan-google opened 3 months ago

calvin-wan-google commented 3 months ago

When reading the operation head directory fails, the thread panics and does not return a useful error message to the user. Create OpHeadStoreError to prevent thread panic and print a more useful error message

calvin-wan-google commented 3 months ago

Thanks for the reviews! I believe all comments have been addressed and the CI passes.