Page MenuHomePhabricator

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

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

Diff Detail

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

Event Timeline

pulkit created this revision.Tue, Oct 5, 8:45 AM
martinvonz accepted this revision.Mon, Oct 11, 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.Mon, Oct 11, 1:54 PM
This revision was automatically updated to reflect the committed changes.