relative paths in stat output

Dr Rainer Woitok rainer.woitok at gmail.com
Wed Apr 10 13:11:03 EDT 2019


Robin,

On Wednesday, 2019-04-10 09:30:38 +0100, you wrote:

> Is there a way to get stat to list files relative to the current working directory

Put the following into the "[alias]" section of your "~/.hgrc" file:

[alias]

  .
  .
  .

# When listing the status  of the repository,  return the paths relative
# to the current working directory  rather than relative to the reposit-
# ory's root directory  (since "st" is a built-in alias for "status", it
# must be listed separately here):

st     = status re:
status = status re:


Sincerely,
  Rainer


More information about the Mercurial mailing list