rhg: enable in case ui.statuscopies=True
authorArseniy Alekseyev <aalekseyev@janestreet.com>
Wed, 21 Sep 2022 10:14:29 -0400
changeset 49516 3854eb90629b
parent 49515 e84064e88e5d
child 49517 52464a20add0
rhg: enable in case ui.statuscopies=True rhg already has code to support ui.statuscopies, but it's disabled, for seemingly no good reason.
rust/rhg/src/commands/status.rs
--- a/rust/rhg/src/commands/status.rs	Thu Sep 22 18:44:28 2022 -0400
+++ b/rust/rhg/src/commands/status.rs	Wed Sep 21 10:14:29 2022 -0400
@@ -185,11 +185,6 @@
 
 pub fn run(invocation: &crate::CliInvocation) -> Result<(), CommandError> {
     // TODO: lift these limitations
-    if invocation.config.get_bool(b"ui", b"statuscopies")? {
-        return Err(CommandError::unsupported(
-            "ui.statuscopies is not yet supported with rhg status",
-        ));
-    }
     if invocation
         .config
         .get(b"commands", b"status.terse")