diff -r ec37db02fc72 -r d8cdd5320f75 mercurial/subrepo.py --- a/mercurial/subrepo.py Wed Feb 06 23:56:59 2019 -0800 +++ b/mercurial/subrepo.py Fri Feb 08 10:19:30 2019 -0800 @@ -1624,7 +1624,7 @@ self._gitcommand(command + [f]) for f in rejected: - ui.warn(_("%s already tracked!\n") % match.abs(f)) + ui.warn(_("%s already tracked!\n") % match.rel(f)) return rejected