Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Remove support for --password; implement password support with env var #305

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jesteves
Copy link

git-svn does not support --password anymore.

This commit removes the command line option for svn2git since it ultimately passed its value to `svn-git.

If the SVN transport requires a password, svn-git will always prompt the user for it, so now svn2git will detect the presence of the SVN2GIT_PASSWORD environment variable and pass its value in reply to the prompt.

[git-svn](https://git-scm.com/docs/git-svn) does not support `--password` anymore.

This commit removes the command line option for svn2git since it ultimately passed its value to `svn-git.

If the SVN transport requires a password, svn-git will always prompt the user for it, so now svn2git will detect the presence of the SVN2GIT_PASSWORD environment variable and pass its value in reply to the prompt.
icedream2linxi added a commit to icedream2linxi/svn2git that referenced this pull request Sep 6, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant