rust: use the new `UncheckedRevision` everywhere applicable
This step converts all revisions that shouldn't be considered "valid" in any context to `UncheckedRevison`, allowing `Revision` to be changed for a stronger type in a later changeset. Note that the conversion from unchecked to checked is manual and requires at least some thought from the programmer, although directly using `Revision` is still possible. A later changeset will make this mistake harder to make.
parent
9929c8a7
No related branches found
No related tags found
Showing
- rust/hg-core/src/operations/cat.rs 2 additions, 2 deletionsrust/hg-core/src/operations/cat.rs
- rust/hg-core/src/operations/debugdata.rs 1 addition, 1 deletionrust/hg-core/src/operations/debugdata.rs
- rust/hg-core/src/operations/list_tracked_files.rs 1 addition, 1 deletionrust/hg-core/src/operations/list_tracked_files.rs
- rust/hg-core/src/repo.rs 3 additions, 3 deletionsrust/hg-core/src/repo.rs
- rust/hg-core/src/revlog/changelog.rs 16 additions, 6 deletionsrust/hg-core/src/revlog/changelog.rs
- rust/hg-core/src/revlog/filelog.rs 28 additions, 5 deletionsrust/hg-core/src/revlog/filelog.rs
- rust/hg-core/src/revlog/index.rs 33 additions, 26 deletionsrust/hg-core/src/revlog/index.rs
- rust/hg-core/src/revlog/manifest.rs 12 additions, 3 deletionsrust/hg-core/src/revlog/manifest.rs
- rust/hg-core/src/revlog/mod.rs 100 additions, 45 deletionsrust/hg-core/src/revlog/mod.rs
- rust/hg-core/src/revlog/nodemap.rs 47 additions, 32 deletionsrust/hg-core/src/revlog/nodemap.rs
- rust/hg-core/src/revset.rs 1 addition, 1 deletionrust/hg-core/src/revset.rs
- rust/hg-cpython/src/revlog.rs 8 additions, 5 deletionsrust/hg-cpython/src/revlog.rs
Loading
Please register or sign in to comment