cli: remove jj hide as alias for jj abandon

I haven't heard of anyone using this alias, so let's remove it. It's
easy for users to add it as their own alias if they really want it.
This commit is contained in:
Martin von Zweigbergk 2023-03-16 21:16:18 -07:00 committed by Martin von Zweigbergk
parent fb7b680d1f
commit ce098a729a
2 changed files with 3 additions and 1 deletions

View file

@ -47,6 +47,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
`jj log`, and `jj obslog`) now accept `--types` to show only the type of file
before and after.
* `jj hide` (alias for `jj abandon`) is no longer available. Use `jj abandon`
instead.
### Fixed bugs
* Modify/delete conflicts now include context lines

View file

@ -439,7 +439,6 @@ struct DuplicateArgs {
/// similar to `jj restore`; the difference is that `jj abandon` gives you a new
/// change, while `jj restore` updates the existing change.
#[derive(clap::Args, Clone, Debug)]
#[command(visible_alias = "hide")]
struct AbandonArgs {
/// The revision(s) to abandon
#[arg(default_value = "@")]