Git-svn Problems When Raising Svn and Git Versions in CentOS 6

Asked 2 years ago, Updated 2 years ago, 87 views

This is about the git-svn issue when upgrading the CentOS 6 svn and git versions.

Since the subversion of CentOS6 yum is 1.6 series, update this to 1.8 series using the following site method:
Raise the version of the subversion in CentOS 6

Also, the git that goes into CentOS6 yum is old, so I updated it using the following method below. (Install subversion-perl from wandisco-svn before installing git) :
Raise the git version in CentOS 6

Both methods use the RPM of wandisco. Install git-svn in the same way as above

yum install --enablerepo=wandisco-git --disablerepo=base, updates, epelgit-svn

However, checking out with git-svn introduced in this way will fail.

 gitsvn clone https://exapmle.com/repos./
Initialized empty Git repository in /home/user/test/.git/
Invalid URL passed to RA layer: 'URL scheme not recognized for https://exapmle.com/repos' at/usr/share/perl5/vendor_perl/Git/SVN.pm line 148

git centos svn

2022-09-30 17:17

1 Answers

I'm not familiar with CentOS packages, so I don't know how to clean them (only install packages), but I had a similar question at Home SO.

First type svn --version and see if the line -handles 'https' scheme appears.You can now verify that the installed svn has https functionality.

Based on the installation method, I think HTTPS functionality is available.

In this case, it is possible that git-svn is using the old svn.
The reasons cited are

This person is 1.7 series, but when I compile it myself, it seems that the same error occurred without neon-development.If you decide to compile it yourself, it will be helpful.

I'm sorry that the answer is not clear.


2022-09-30 17:17

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.