Skip to content

rhg: fix copy source formatting in `rhg status`

rhg status had a couple formatting issues when run with ui.statuscopies=true:

  • The copy source is printed even when --no-status is passed.
  • The copy source is printed as an absolute path even when commands.status.relative=true.

It looks like these combinations weren't tested in test-status.t, so I've added them.

Merge request reports