Page MenuHomePhabricator

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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.