The sentence both removal paths end on when a deletion could not be performed: the bytes survive, so the untrack is not complete.
(count: usize)
| 502 | /// The sentence both removal paths end on when a deletion could not be |
| 503 | /// performed: the bytes survive, so the untrack is not complete. |
| 504 | pub(crate) fn failed_deletions_error(count: usize) -> CliError { |
| 505 | CliError::ServiceRefusal { |
| 506 | message: format!( |
| 507 | "could not delete {} from the working copy; the bytes are still on \ |
| 508 | disk, so the untrack is not complete", |
| 509 | format_count(count, "path") |
| 510 | ), |
| 511 | } |
| 512 | } |
| 513 | |
| 514 | impl Remove { |
| 515 | /// Whether deleting `path` would destroy uncommitted edits, mirroring the |