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

Checkout from svn repository with authentication failing. #3209

Closed
JivanAmara opened this Issue Oct 27, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@JivanAmara
Contributor

JivanAmara commented Oct 27, 2015

It looks like the command generated to check out the subversion project is incorrect. The failing command reported below (/usr/bin/svn checkout -q --username <svnuser> --password <svnpass> https://<svnuser>:<svnpass>@mysubversionserver.org/svn/dir1/dir2/svn-project/tags/v0.2 /tmp/pip_build_jivan/svn-project) works if "<svnuser>:<svnpass>@" is removed from the url.

pip install svn+https://<svnuser>:<svnpass>@mysubversionserver.org/svn/dir1/dir2/svn-project/tags/v0.2#egg=svn-project==0.2

Results in:

Downloading/unpacking svn-project==0.2 from svn+https://<svnuser>:<svnpass>@mysubversionserver.org/svn/dir1/dir2/svn-project/tags/v0.2
Checking out https://<svnuser>:<svnpass>@mysubversionserver.org/svn/dir1/dir2/svn-project/tags/v0.2 to /tmp/pip_build_jivan/svn-project
svn: E170000: 'https://<svnuser>:<svnpass>@mysubversionserver.org/svn/dir1/dir2/svn-project/tags/v0.2' isn't in the same repository as 'https://<svnuser>:XXXXXXXX@mysubversionserver.org/svn/dir1'
Complete output from command :

----------------------------------------
Cleaning up...
Command /usr/bin/svn checkout -q --username <svnuser> --password <svnpass> https://<svnuser>:<svnpass>@mysubversionserver.org/svn/dir1/dir2/svn-project/tags/v0.2 /tmp/pip_build_jivan/svn-project failed with error code 1 in None
Storing debug log for failure in /home/jivan/.pip/pip.log

JivanAmara added a commit to JivanAmara/pip that referenced this issue Oct 27, 2015

Updated Subversion vcs to strip auth info after collecting it for use…
… as flags.

Updated svn functional tests to expect new behaviour.
Fixes #3209

@xavfernandez xavfernandez added the C: vcs label Oct 29, 2015

@xavfernandez

This comment has been minimized.

Show comment
Hide comment
@xavfernandez

xavfernandez Oct 29, 2015

Contributor

Related to #146

Contributor

xavfernandez commented Oct 29, 2015

Related to #146

JivanAmara added a commit to JivanAmara/pip that referenced this issue Nov 5, 2015

JivanAmara added a commit to JivanAmara/pip that referenced this issue May 19, 2016

Updated Subversion vcs to strip auth info after collecting it for use…
… as flags.

Updated svn functional tests to expect new behaviour.
Fixes #3209

JivanAmara added a commit to JivanAmara/pip that referenced this issue May 19, 2016

@dstufft dstufft closed this in #3697 May 26, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment