mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-04 10:34:13 +00:00
404f31cbc1
Some backends, like the one we have at Google, can restrict access to certain files. For such files, if they return a regular `BackendError::ReadObject`, then that will terminate iteration in many cases (e.g. when diffing or listing files). This patch adds a new error variant for them to return instead, plus handling of such errors in diff output and in the working copy. In order to test the feature, I added a new commit backend that returns the new `ReadAccessDenied` error when the caller tries to read certain objects. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |