[Changed Subscribers] D8956: rhg: print error message when argument parsing fails

Alphare (Raphaël Gomès) phabricator at mercurial-scm.org
Fri Aug 28 08:23:20 UTC 2020


Alphare added inline comments.

INLINE COMMENTS

> ui.rs:52
> +    /// Write string line to stderr
> +    pub fn writeln_stderr_str(&self, s: &str) -> Result<(), UiError> {
> +        eprintln!("{}", s);

Why does this return a `Result`?

REPOSITORY
  rHG Mercurial

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

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

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


More information about the Mercurial-patches mailing list