-
Notifications
You must be signed in to change notification settings - Fork 443
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unknown option: password #292
Comments
@Potato09 you don't need to use quotes, the right syntax is to separate the password value by space from |
No, space seperation does not work. I have the same issue |
same error here. The password has symbols, if it helps.
My workarround was to change the file migrate.rb using "echo password |" instead of option password cmd = "echo #{password} |" + cmd unless password.nil?
# Add each component to the command that was passed as an argument.
cmd += "--username='#{username}' " unless username.nil?
#cmd += "--password='#{password}' " unless password.nil? |
--password doesn't work anymore, you have to manually input the password or use the workaround to set an env var. I actually had even more issues and svn2git didn't work for me at all. I managed to migrate using the steps outlined here |
this issue has resolved by @jesteves, I pushed it to rubygems. |
(⊙o⊙)?
[root@local]svn2git https://172.16.3.3/svn/ywzl --user='liqiang' --password '123456' --rootistrunk
Unknown option: password
command failed:
git svn init --prefix=svn/ --username='liqiang' --password='123456' --no-metadata --trunk='https://172.16.3.3/svn/ywzl'
The text was updated successfully, but these errors were encountered: