##// END OF EJS Templates
fix: add a -s option to format a revision and its descendants...
fix: add a -s option to format a revision and its descendants `hg fix -r abc123` will format that commit but not its descendants. That seems expected given the option name (`-r`), but it's very rarely what the user wants to do. The problem is that any descendants of that commit will not be formatted, leaving them as orphans that are hard to evolve. They are hard to evolve because the new parent will have formatting changes that the orphan doesn't have. I talked to Danny Hooper (who wrote most of the fix extension) about the problem and we agreed that deprecating `-r` in favor of a new `-s` argument (mimicing rebase's `-s`) would be a good way of reducing the risk that users end up with these hard-to-evolve orphans. So that's what this patch implements. Differential Revision: https://phab.mercurial-scm.org/D8287

File last commit:

r45028:d880805d default
r45064:5205b46b default
Show More
Cargo.toml
39 lines | 756 B | text/plain | TOMLLexer
Georges Racinet
rust: pure Rust lazyancestors iterator...
r40307 [package]
name = "hg-core"
version = "0.1.0"
authors = ["Georges Racinet <gracinet@anybox.fr>"]
description = "Mercurial pure Rust core library, with no assumption on Python bindings (FFI)"
Raphaël Gomès
rust: switch hg-core and hg-cpython to rust 2018 edition...
r42828 edition = "2018"
Raphaël Gomès
rust-re2: add wrapper for calling Re2 from Rust...
r44786 build = "build.rs"
Georges Racinet
rust: pure Rust lazyancestors iterator...
r40307
[lib]
name = "hg"
Georges Racinet
rust: translated random test of missingancestors...
r41841
Raphaël Gomès
rust-dirstate: add rust implementation of `parse_dirstate` and `pack_dirstate`...
r42488 [dependencies]
Raphaël Gomès
rust-filepatterns: add a Rust implementation of pattern-related utils...
r42514 byteorder = "1.3.1"
Georges Racinet
rust-node: binary Node ID and conversion utilities...
r44601 hex = "0.4.0"
Raphaël Gomès
rust-filepatterns: add a Rust implementation of pattern-related utils...
r42514 lazy_static = "1.3.0"
Raphaël Gomès
rust-re2: add wrapper for calling Re2 from Rust...
r44786 libc = { version = "0.2.66", optional = true }
Augie Fackler
rust: sort dependencies entries in Cargo.toml...
r42518 memchr = "2.2.0"
Raphaël Gomès
rust-dependencies: pin the dependencies of hg-core to prevent breakage...
r43530 rand = "0.6.5"
rand_pcg = "0.1.1"
Raphaël Gomès
rust-dependencies: update rayon...
r44618 rayon = "1.3.0"
Raphaël Gomès
rust-dependencies: pin the dependencies of hg-core to prevent breakage...
r43530 regex = "1.1.0"
Raphaël Gomès
rust-performance: introduce FastHashMap type alias for HashMap...
r44278 twox-hash = "1.5.0"
Raphaël Gomès
rust-utils: add util for canonical path...
r44783 same-file = "1.0.6"
Raphaël Gomès
rust-status: traverse working directory in parallel...
r45026 crossbeam = "0.7.3"
Raphaël Gomès
hg-core: add function timing information...
r45028 micro-timer = "0.1.2"
Raphaël Gomès
rust: add logging utils...
r45027 log = "0.4.8"
Raphaël Gomès
rust-pathauditor: add Rust implementation of the `pathauditor`...
r44737
[dev-dependencies]
Georges Racinet
rust-nodemap: pure Rust example...
r44870 clap = "*"
memmap = "0.7.0"
pretty_assertions = "0.6.1"
Raphaël Gomès
rust-hg-path: add useful methods to `HgPath`...
r44738 tempfile = "3.1.0"
Raphaël Gomès
rust-re2: add wrapper for calling Re2 from Rust...
r44786
[build-dependencies]
cc = { version = "1.0.48", optional = true }
[features]
default = []
with-re2 = ["cc", "libc"]