This is an archive of the discontinued Mercurial Phabricator instance.

rhg: Do not return error when when we really mean ok in commands
AbandonedPublic

Authored by acezar on Jul 21 2020, 10:06 AM.

Details

Reviewers
None
Group Reviewers
hg-reviewers
Summary

Before when a command was successfull Err(CommandErrorKind::Ok.into()) was
returned which is an oxymoron. Using Ok(()) when everything is ok seems more
appropriate.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage