threads / discuss / 16658

Problems Cloning an SVN repo.

Subject: Problems Cloning an SVN repo.

## tl;dr

4 messages between Dec 9, 2008 and Dec 9, 2008.

replies: 3people: 3as markdown or json

Tim Visher· Dec 9, 2008, 17:54 UTC · lore
Hello everyone,

I'm trying to use `git svn clone` to begin to work with a project stored in subversion through git for the work I do on the project locally. I installed git through cygwin and I'm getting the following error when executing the command.

    Can't locate SVN/Core.pm in @INC (@INC contains:
/usr/lib/perl5/site_perl/5.10 /usr/lib/perl5/5.10/i686-cygwin
/usr/lib/perl5/5.10 /usr/lib/perl5/site_perl/5.10/i686-cygwin
/usr/lib/perl5/vendor_perl/5.10/i686-cygwin
/usr/lib/perl5/vendor_perl/5.10 /usr/lib/perl5/site_perl/5.8
/usr/lib/perl5/vendor_perl/5.8 .) at /usr/sbin/git-core//git-svn line
29.
Any help?
-- 
In Christ,

Timmy V.

http://burningones.com/
http://five.sentenc.es/ - Spend less time on e-mail
Peter Harris· Dec 9, 2008, 18:09 UTC · re: Tim Visher · lore

Re: Problems Cloning an SVN repo.

On Tue, Dec 9, 2008 at 12:54 PM, Tim Visher wrote:
Show 16 quoted lines
> Hello everyone,
>
> I'm trying to use `git svn clone` to begin to work with a project
> stored in subversion through git for the work I do on the project
> locally.  I installed git through cygwin and I'm getting the following
> error when executing the command.
>
>    Can't locate SVN/Core.pm in @INC (@INC contains:
> /usr/lib/perl5/site_perl/5.10 /usr/lib/perl5/5.10/i686-cygwin
> /usr/lib/perl5/5.10 /usr/lib/perl5/site_perl/5.10/i686-cygwin
> /usr/lib/perl5/vendor_perl/5.10/i686-cygwin
> /usr/lib/perl5/vendor_perl/5.10 /usr/lib/perl5/site_perl/5.8
> /usr/lib/perl5/vendor_perl/5.8 .) at /usr/sbin/git-core//git-svn line
> 29.
>
> Any help?
Did you install the subversion-perl cygwin package?
Peter Harris
Tim Visher· Dec 9, 2008, 19:41 UTC · re: Peter Harris · lore

Re: Problems Cloning an SVN repo.

> Did you install the subversion-perl cygwin package?
That was it.  Thanks everyone!
-- 
In Christ,

Timmy V.

http://burningones.com/
http://five.sentenc.es/ - Spend less time on e-mail
Deskin Miller· Dec 9, 2008, 18:12 UTC · re: Tim Visher · lore

Re: Problems Cloning an SVN repo.

On Tue, Dec 09, 2008 at 12:54:20PM -0500, Tim Visher wrote:
>     Can't locate SVN/Core.pm in @INC (@INC contains:

This is perl's way of saying "you don't have the SVN perl bindings in some place I can find them". I've not used git-svn under cygwin and lack a windows computer to test, but on debian the SVN perl bindings are in packages called libsvn-perl or libsvn-core-perl; I'd look for similarly-named packages in cygwin's installer, or alternately packages related to SVN. If you're sure that the bindings are already installed, you can fiddle with perl's module search path to detect them in an unusual location: look at the -I flag to perl.

If that doesn't work, you can try building svn from source under cygwin, and installing the perl bindings that way.

Hope that helps, Deskin Miller

← back to recent threads