Open ghost opened 10 years ago
Workaround:
install nginx and configure it as a proxy that adds Basic auth header automatically:
upstream backend {
server 10.68.8.14;
}
server {
listen 8888; ## listen for ipv4; this line is default and implied
proxy_set_header Authorization "<INSERT VALUE HERE FROM CHROME INSPECTOR>";
location / {
proxy_pass http://backend;
}
}
And then just use svn2git http://127.0.0.1:8888/svn/repo
.
same problem here i could resolve by ctrl+z and fg after that i could insert the password two time and pressing enter key and is now working. for sure not the best fix but i didn't want to install nginx :/
This bug is still here.
aliceinwire's workaround works.
Confirm the bug still around, MacOS 10.12.5
Executing
svn2git -v --username "mylogin@blah.com" http://10.68.8.14/svn/repo/
leads to git-svn asking for password:
at which stage entering any text does nothing. Enter key does nothing. The only thing I can do is press Ctrl+C:
When I execute the
git svn
command stand-alone, its password prompts works all right.Giving the password as stdin to the svn2git process doesn't work either, but in another way: git-svn just asks for a password three times in a row and then quits with the auth failed message.
svn2git 2.3.2, ruby 1.9.3, Debian.