[Updated] D8869: rhg: add a limited `rhg files` subcommand

acezar (Antoine Cezar) phabricator at mercurial-scm.org
Sat Aug 8 20:32:02 UTC 2020


Closed by commit rHG26440adbe3e9: rhg: add a limited `rhg files` subcommand (authored by acezar).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D8869?vs=22252&id=22364

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D8869/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D8869

AFFECTED FILES
  rust/rhg/src/main.rs

CHANGE DETAILS

diff --git a/rust/rhg/src/main.rs b/rust/rhg/src/main.rs
--- a/rust/rhg/src/main.rs
+++ b/rust/rhg/src/main.rs
@@ -16,6 +16,9 @@
         .version("0.0.1")
         .subcommand(
             SubCommand::with_name("root").about(commands::root::HELP_TEXT),
+        )
+        .subcommand(
+            SubCommand::with_name("files").about(commands::files::HELP_TEXT),
         );
 
     let matches = app.clone().get_matches_safe().unwrap_or_else(|_| {
@@ -27,6 +30,7 @@
     let command_result = match matches.subcommand_name() {
         Some(name) => match name {
             "root" => commands::root::RootCommand::new(&ui).run(),
+            "files" => commands::files::FilesCommand::new(&ui).run(),
             _ => std::process::exit(exitcode::UNIMPLEMENTED_COMMAND),
         },
         _ => {



To: acezar, #hg-reviewers, Alphare, indygreg
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20200808/ca23ffd5/attachment-0002.html>


More information about the Mercurial-patches mailing list