comparison mercurial/formatter.py @ 48174:9ecf802b06e0

rhg: refactor function to relativize paths in utils Commands like `files`, `status` supports printing relative paths. Hence we need to re-use this code in other places too. So let's take this out from `rhg files` into a utility function. Next patch will make `rhg status` use it. Differential Revision: https://phab.mercurial-scm.org/D11613
author Pulkit Goyal <7895pulkit@gmail.com>
date Tue, 05 Oct 2021 18:02:22 +0530
parents d4ba4d51f85f
children df56e6bd37f6
comparison
equal deleted inserted replaced
48173:1d70fb83ff4a 48174:9ecf802b06e0