This is an archive of the discontinued Mercurial Phabricator instance.

rhg: add relative paths support in `rhg status`

Authored by pulkit on Oct 5 2021, 8:45 AM.

Diff Detail

rHG Mercurial
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

pulkit created this revision.Oct 5 2021, 8:45 AM
martinvonz accepted this revision.Oct 11 2021, 1:54 PM
martinvonz added a subscriber: martinvonz.
martinvonz added inline comments.

You may, at some point, want to add a write_fmt() method to Ui so this can be written using the writeln! macro as writeln!(ui, "{} {}", status_prefix, path.as_ref())

This revision is now accepted and ready to land.Oct 11 2021, 1:54 PM
This revision was automatically updated to reflect the committed changes.