relative paths in stat output

Robin Becker robin at reportlab.com
Wed Apr 10 08:30:38 UTC 2019


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 ../
-- 
Robin Becker


More information about the Mercurial mailing list