##// END OF EJS Templates
typing: correct the signature of error.CommandError...
typing: correct the signature of error.CommandError There's a place in `mercurial.dispatch._parse()` that passes None if a parse error happens before the command can be parsed out, and casting the error to bytes works fine because the command and message fields are apparently ignored. Likewise, TortoiseHg similarly passes None for the same reason.

File last commit:

r50875:95ffa065 default
r51258:3dbc7b1e stable
Show More
mod.rs
10 lines | 409 B | application/rls-services+xml | RustLexer
Antoine Cezar
hg-core: remove the `Operation` trait...
r45917 //! A distinction is made between operations and commands.
//! An operation is what can be done whereas a command is what is exposed by
//! the cli. A single command can use several operations to achieve its goal.
Antoine Cezar
hg-core: add a `CatRev` operation...
r46112 mod cat;
Antoine Cezar
hg-core: define a `DebugData` `Operation`...
r46098 mod debugdata;
Antoine Cezar
hg-core: define a `ListTrackedFiles` `Operation`...
r45918 mod list_tracked_files;
Simon Sapin
rhg: `cat` command: print error messages for missing files...
r47478 pub use cat::{cat, CatOutput};
Simon Sapin
rust: remove three enums that were identical to `RevlogError`...
r47166 pub use debugdata::{debug_data, DebugDataKind};
pub use list_tracked_files::{list_rev_tracked_files, FilesForRev};