rust/rhg/src/commands/status.rs
changeset 49521 3854eb90629b
parent 49519 e37416d432e9
child 49522 52464a20add0
equal deleted inserted replaced
49520:e84064e88e5d 49521:3854eb90629b
   183     return Ok(false);
   183     return Ok(false);
   184 }
   184 }
   185 
   185 
   186 pub fn run(invocation: &crate::CliInvocation) -> Result<(), CommandError> {
   186 pub fn run(invocation: &crate::CliInvocation) -> Result<(), CommandError> {
   187     // TODO: lift these limitations
   187     // TODO: lift these limitations
   188     if invocation.config.get_bool(b"ui", b"statuscopies")? {
       
   189         return Err(CommandError::unsupported(
       
   190             "ui.statuscopies is not yet supported with rhg status",
       
   191         ));
       
   192     }
       
   193     if invocation
   188     if invocation
   194         .config
   189         .config
   195         .get(b"commands", b"status.terse")
   190         .get(b"commands", b"status.terse")
   196         .is_some()
   191         .is_some()
   197     {
   192     {