Skip to content
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

Problem on protected repository #43

Open
ericjeedunn opened this issue Jan 16, 2012 · 5 comments
Open

Problem on protected repository #43

ericjeedunn opened this issue Jan 16, 2012 · 5 comments

Comments

@ericjeedunn
Copy link

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
Copy link
Author

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

@nirvdrum
Copy link
Owner

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

@linge
Copy link

linge commented Feb 27, 2012

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
Copy link
Owner

@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
Copy link

linge commented Feb 27, 2012

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants