Mercurial > hg
comparison mercurial/sparse.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 | 000ea893aad3 |
children | b74ee41addee |
comparison
equal
deleted
inserted
replaced
48173:1d70fb83ff4a | 48174:9ecf802b06e0 |
---|