This is an archive of the discontinued Mercurial Phabricator instance.

subrepoutil: use relative path for looking up config `%include`s
ClosedPublic

Authored by martinvonz on Jul 22 2020, 1:40 PM.

Details

Summary

The code was already working with relative paths in practice, since it
passed in a (repo-)relative path into its local read() function. So
all that this patch actually does is to switch to rename variables so
we use the same path by a different name. This gets us closer to
removing the "absolute" path from the include callback.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage