This is an archive of the discontinued Mercurial Phabricator instance.

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
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage