nirvdrum / svn2git

Ruby tool for importing existing svn projects into git.
MIT License
2.11k stars 443 forks source link

Problem on protected repository #43

Open ericjeedunn opened 12 years ago

ericjeedunn commented 12 years ago

svn2git http://our_server --username chris

command failed: 2>&1 git svn init --prefix=svn/ --username=chris --no-metadata --trunk=trunk --tags=tags --branches=branches http://our_server

ericjeedunn commented 12 years ago

I would have expected that I was asked for the password of the repository but I have never received such request

nirvdrum commented 12 years ago

What does git-svn do? We ultimately just delegate to that.

linge commented 12 years ago

Got the same error on a protected repo. This is what it does:

$svn2git http://myrepo -v Running command: git svn init --prefix=svn/ --no-metadata --trunk=trunk --tags=tags --branches=branches http://myrepo git: 'svn' is not a git command. See 'git --help'.

Did you mean one of these? fsck show command failed: 2>&1 git svn init --prefix=svn/ --no-metadata --trunk=trunk --tags=tags --branches=branches http://myrepo

nirvdrum commented 12 years ago

@linge

You don't have git-svn installed. You need that installed in order for svn2git to work. Please see the installation instructions in the README.

linge commented 12 years ago

Newbie me... Thank you.

Had both git and svn installed. For any Mac users having the same problem, use Macports and run a reinstall of both linked. $sudo port install git-core +svn