[Updated] D10144: rhg: Fall back to Python for --version

SimonSapin phabricator at mercurial-scm.org
Tue Mar 16 21:48:51 UTC 2021


Closed by commit rHGeb14264b98e8: rhg: Fall back to Python for --version (authored by SimonSapin).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D10144?vs=26350&id=26427

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

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

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
@@ -29,6 +29,7 @@
 
     let app = App::new("rhg")
         .global_setting(AppSettings::AllowInvalidUtf8)
+        .global_setting(AppSettings::DisableVersion)
         .setting(AppSettings::SubcommandRequired)
         .setting(AppSettings::VersionlessSubcommands)
         .arg(



To: SimonSapin, #hg-reviewers, marmoute, Alphare
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210316/5cdf1960/attachment-0002.html>


More information about the Mercurial-patches mailing list