Skip to content
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

svn2git Unknown option: password #237

Open
dzhyw opened this issue Feb 17, 2017 · 4 comments
Open

svn2git Unknown option: password #237

dzhyw opened this issue Feb 17, 2017 · 4 comments

Comments

@dzhyw
Copy link

dzhyw commented Feb 17, 2017

hi,all:
i have a problem:

svn2git http://xxx/svn/android --no-minimize-url -v --username xxx --password xxx --rootistrunk --authors /usr/local/users.txt

Running command: git svn init --prefix=svn/ --username='xxx' --password='xxx' --no-metadata --no-minimize-url --trunk='http://xxx/svn/android'
Unknown option: password
command failed:
git svn init --prefix=svn/ --username='xxx' --password='xxx' --no-metadata --no-minimize-url --trunk='http://xxx/svn/android'

how to fix it ? it's code bug? Online waiting to be resolved,thanks

@Oruss7
Copy link

Oruss7 commented Feb 23, 2017

yes YourPassword | git svn ... --username YourUsername

@mazong1123
Copy link

--password is not supported by git svn. Other than pipe in the password to the git svn, you can try my new implementation of svn2git which fixed this issue: https://github.com/mazong1123/svn2gitnet

@temoctzin
Copy link

I fix it using git svn without --password tag!
but first must install perl-term_readkey

@ibaoger
Copy link

ibaoger commented Jun 7, 2022

gem uninstall svn2git
gem install svn2git3
SVN2GIT_PASSWORD=<<password>> svn2git http://svn.example.com/path/to/repo --username <<user_with_perms>>

this issue has resolved by @jesteves, I pushed it to rubygems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants