[Updated] D8868: rhg: add a `Files` `Command` to prepare the `rhg files` subcommand
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Sat Aug 8 20:10:00 UTC 2020
This revision is now accepted and ready to land.
indygreg added inline comments.
indygreg accepted this revision.
INLINE COMMENTS
> files.rs:46
> + }
> + stdout.flush()?;
> +
I imagine this pattern could become quite common. We may want to introduce some type of _writer_ type that has `impl Drop` so we can do something like the following:
{
let mut stdout = self.ui.stdout_writer();
stdout.write(b"...")?;
}
REPOSITORY
rHG Mercurial
BRANCH
default
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D8868/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D8868
To: acezar, #hg-reviewers, Alphare, indygreg
Cc: indygreg, mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20200808/6469d3cd/attachment-0002.html>
More information about the Mercurial-patches
mailing list