The functions splitremotename and joinremotename are moved to core from
remotenames extension.
Details
Details
- Reviewers
ryanmce - Group Reviewers
hg-reviewers
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
mercurial/remotenames.py | ||
---|---|---|
10–19 | As you mentioned when we chatted, this doesn't work great because the remote path can have a / character in it, eg: $ hg paths com/mon = https://www.mercurial-scm.org/repo/hg-committed/ And then this whole thing breaks. So we need to think about a better storage mechanism. I would suggest JSON as one possibility since it already takes care of all encoding problems, and allows nested information that's straightforward to manipulate. |
As you mentioned when we chatted, this doesn't work great because the remote path can have a / character in it, eg:
And then this whole thing breaks. So we need to think about a better storage mechanism.
I would suggest JSON as one possibility since it already takes care of all encoding problems, and allows nested information that's straightforward to manipulate.