Here is what I mean:
[paths]
default = some/path/to/something
another_path = [paths.default]/something/else
Can it be done somehow?
Thanks ;)
Here is what I mean:
[paths]
default = some/path/to/something
another_path = [paths.default]/something/else
Can it be done somehow?
Thanks ;)
No, the Mercurial config format has no concept of variables or re-use.
See the hgrc documentation:
Individual settings may support some form of variable parsing, but this does not apply to values in the configuration file in general. Variable support (environment or otherwise) is the exception, not the norm. For example,
%include(to include another configuration file) does support environment variables via the Pythonos.path.expandvars()function, but this does not apply to any other syntax.