relative paths in stat output
Matt Harbison
mharbison72 at gmail.com
Thu Apr 11 03:13:58 UTC 2019
On Wed, 10 Apr 2019 04:30:38 -0400, Robin Becker <robin at reportlab.com>
wrote:
> Is there a way to get stat to list files relative to the current working
> directory; I often find myself trying to act on files whose relative
> path differs from the one reported in stat output eg
>
>
> REPO/---B1--C1
> |
> +---B2--C2
>
> if I am working in B2 the a file changed in C1 is listed in stat output
> as
> B1/C1/file and obviously I cannot do actions on B1/C1/file without
> adding the ../
Try this in hgrc:
[commands]
status.relative=True
You might also be interested in `ui.tweakdefaults=True`.
More information about the Mercurial
mailing list