( )⚙ D11614 rhg: add relative paths support in `rhg status`

This is an archive of the discontinued Mercurial Phabricator instance.

rhg: add relative paths support in `rhg status`
ClosedPublic

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

Diff Detail

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

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.
rust/rhg/src/commands/status.rs
275–277

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.