开发者

How to specify a username with a @ embedded in a URL? ( Mercurial - MacHg related but not specificaly )

开发者 https://www.devze.com 2023-01-14 03:21 出处:网络
As MacHg (MacOS mercurial client) requests a password but not a username, the only way I have to include the login information for MacHg to connect to a mercurial repository server is to add it in the

As MacHg (MacOS mercurial client) requests a password but not a username, the only way I have to include the login information for MacHg to connect to a mercurial repository server is to add it in the URL, as the help states.

The problem is that I'm using a repository at Kiln.net where usernames are emails.

So the @ of the email breaks the syntax, example:

https://user@mailhost.com:passwoidhere@hghost.com/repo

So can I escape it in some way? urlencoding the @ to a %40 (or whatever it corresponds) didn't work. \@ didn't either.

I was abl开发者_如何学运维e to clone the repo from the command line, but I'd like to use MacHg.


Worked, just had to keep trying.

0

精彩评论

暂无评论...
验证码 换一张
取 消