Mercurial > public > mercurial-scm > hg
diff rust/rhg/src/main.rs @ 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 | ba773bd99203 |
children | 5b9865032533 |
line wrap: on
line diff