[Updated] D11617: rhg: in rhg cat cli, fix the long name of the --rev flag
aalekseyev (Arseniy Alekseyev)
phabricator at mercurial-scm.org
Sat Oct 9 01:34:28 UTC 2021
Closed by commit rHG08c8cd2527bc: rhg: in rhg cat cli, fix the long name of the --rev flag (authored by aalekseyev).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D11617?vs=30680&id=30696
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D11617/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D11617
AFFECTED FILES
rust/rhg/src/commands/cat.rs
tests/test-rhg.t
CHANGE DETAILS
diff --git a/tests/test-rhg.t b/tests/test-rhg.t
--- a/tests/test-rhg.t
+++ b/tests/test-rhg.t
@@ -121,6 +121,8 @@
file-3
$ $NO_FALLBACK rhg cat -r cf8b83 file-2
2
+ $ $NO_FALLBACK rhg cat --rev cf8b83 file-2
+ 2
$ $NO_FALLBACK rhg cat -r c file-2
abort: ambiguous revision identifier: c
[255]
diff --git a/rust/rhg/src/commands/cat.rs b/rust/rhg/src/commands/cat.rs
--- a/rust/rhg/src/commands/cat.rs
+++ b/rust/rhg/src/commands/cat.rs
@@ -16,7 +16,7 @@
Arg::with_name("rev")
.help("search the repository as it is in REV")
.short("-r")
- .long("--revision")
+ .long("--rev")
.value_name("REV")
.takes_value(true),
)
@@ -26,7 +26,7 @@
.multiple(true)
.empty_values(false)
.value_name("FILE")
- .help("Activity to start: activity at category"),
+ .help("Files to output"),
)
.about(HELP_TEXT)
}
To: aalekseyev, #hg-reviewers, martinvonz
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20211009/37cf518b/attachment-0002.html>
More information about the Mercurial-patches
mailing list