The subrepoutil module has various function to compute the path of a
sub-repository compared to the root of the top repository. However, they was no
function available to compute the relative path of the repository "source". And
we need this information for exchange operation (in our case, hg outgoing).
The information is currently build using the repo._subtoppath hack. We reuse
the same logic but in a dedicated function independent of the repo._subtoppath
hack.
Details
Details
- Reviewers
pulkit - Group Reviewers
hg-reviewers - Commits
- rHG5a59a0ed0a37: subrepo: introduce a `repo_rel_or_abs_source` function
Diff Detail
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.