Repo rooted or relative paths from .hg/hgrc

Ross Goldberg ross.goldberg at gmail.com
Sun Jun 3 23:05:13 UTC 2018


I'm trying to enable the commitsigs extension (
https://www.mercurial-scm.org/wiki/CommitsigsExtension) for a repo by
adding the following to its .hg/hgrc.

[extensions]
commitsigs = extensions/commitsigs/commitsigs.py

This works as long as I run hg commands from the root of my repo, but fails
elsewhere.

I've tried a few ways to possibly get some path to work from any directory
in the repo, but to no avail.

Is there any way to specify either a path relative to the root of my repo,
or a path relative to the file in which the path is written (in this case,
.hg/hgrc)?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial/attachments/20180603/2402b089/attachment.html>


More information about the Mercurial mailing list