##// END OF EJS Templates
typing: add basic type hints to localrepo.py...
typing: add basic type hints to localrepo.py There's a lot more that could be done, but this sticks to the obviously correct stuff that is either related to existing imports or primitives. Hopefully this helps smoke out more path related bytes vs str issues in TortoiseHg. I'm avoiding the interfaces for now, because they seem to confuse pytype and/or PyCharm. It might be worth typing the return of `makelocalrepository` to `localrepository`, but that leaks an implementation detail, so that can be revisited later.

File last commit:

r48882:bf8837e3 default
r50466:8fa3f7c3 default
Show More
mod.rs
11 lines | 447 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};
Simon Sapin
rust: Remove DirstateParseError and ListDirstateTrackedFilesError...
r47169 pub use list_tracked_files::Dirstate;
Simon Sapin
rust: remove three enums that were identical to `RevlogError`...
r47166 pub use list_tracked_files::{list_rev_tracked_files, FilesForRev};