Page MenuHomePhabricator

run-tests: replace '#' with '-' in temp path of repos created for tests
ClosedPublic

Authored by pulkit on Jun 22 2020, 5:36 AM.

Details

Summary

If we have multiple cases in a test, that leads us to a temp path of
format "<temp-path>-<case1>#<case2>".
This leads to hg.parseurl() parsing the path and take part
after # as a branch name.

I encountered this bug while adding support for share-safe case in next patch.

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.