mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-18 18:27:38 +00:00
Mention path in message for ConflictResolveError::NotNormalFilesError
.
This commit is contained in:
parent
48c44344bf
commit
b58be8d7a4
2 changed files with 3 additions and 3 deletions
|
@ -89,7 +89,7 @@ pub enum ConflictResolveError {
|
||||||
NotAConflictError(RepoPath),
|
NotAConflictError(RepoPath),
|
||||||
#[error(
|
#[error(
|
||||||
"Only conflicts that involve normal files (not symlinks, not executable, etc.) are \
|
"Only conflicts that involve normal files (not symlinks, not executable, etc.) are \
|
||||||
supported. Conflict summary:\n {1}"
|
supported. Conflict summary for {0:?}:\n{1}"
|
||||||
)]
|
)]
|
||||||
NotNormalFilesError(RepoPath, String),
|
NotNormalFilesError(RepoPath, String),
|
||||||
#[error(
|
#[error(
|
||||||
|
|
|
@ -409,8 +409,8 @@ fn test_file_vs_dir() {
|
||||||
|
|
||||||
let error = test_env.jj_cmd_failure(&repo_path, &["resolve", "file"]);
|
let error = test_env.jj_cmd_failure(&repo_path, &["resolve", "file"]);
|
||||||
insta::assert_snapshot!(error, @r###"
|
insta::assert_snapshot!(error, @r###"
|
||||||
Error: Failed to use external tool to resolve: Only conflicts that involve normal files (not symlinks, not executable, etc.) are supported. Conflict summary:
|
Error: Failed to use external tool to resolve: Only conflicts that involve normal files (not symlinks, not executable, etc.) are supported. Conflict summary for "file":
|
||||||
Conflict:
|
Conflict:
|
||||||
Removing file with id df967b96a579e45a18b8251732d16804b2e56a55
|
Removing file with id df967b96a579e45a18b8251732d16804b2e56a55
|
||||||
Adding file with id 78981922613b2afb6025042ff6bd878ac1994e85
|
Adding file with id 78981922613b2afb6025042ff6bd878ac1994e85
|
||||||
Adding tree with id 133bb38fc4e4bf6b551f1f04db7e48f04cac2877
|
Adding tree with id 133bb38fc4e4bf6b551f1f04db7e48f04cac2877
|
||||||
|
|
Loading…
Reference in a new issue