Show More
@@ -73,7 +73,16 b' impl CommandError {' | |||
|
73 | 73 | ) |
|
74 | 74 | } |
|
75 | 75 | CommandError::Abort(message) => message.to_owned(), |
|
76 | _ => None, | |
|
76 | ||
|
77 | CommandError::RequirementsError(_) | |
|
78 | | CommandError::StdoutError | |
|
79 | | CommandError::StderrError | |
|
80 | | CommandError::Unimplemented | |
|
81 | | CommandError::Other(HgError::UnsupportedFeature(_)) => None, | |
|
82 | ||
|
83 | CommandError::Other(e) => { | |
|
84 | Some(format_bytes!(b"{}\n", e.to_string().as_bytes())) | |
|
85 | } | |
|
77 | 86 | } |
|
78 | 87 | } |
|
79 | 88 |
General Comments 0
You need to be logged in to leave comments.
Login now