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

--rootistrunk error with https repo #127

Open
ponsfrilus opened this issue Jun 18, 2013 · 14 comments
Open

--rootistrunk error with https repo #127

ponsfrilus opened this issue Jun 18, 2013 · 14 comments

Comments

@ponsfrilus
Copy link

 svn2git -v https://my.svnserver.com/svn/easy/ --rootistrunk --nobranches --notags
 Running command: git svn init --prefix=svn/ --no-metadata --trunk=https://my.svnserver.com/svn/easy/
 E: 'https:/my.svnserver.com/svn/easy/' is not a complete URL  and a separate URL is not specified
 command failed:
 2>&1 git svn init --prefix=svn/ --no-metadata --trunk=https://my.svnserver.com/svn/easy

Note that there is only one slash in the URL of the error. How can I fix it ? It's certainly due to the https repo.

@EvanDotPro
Copy link

Same issue here with svn:// URLs.

@ponsfrilus
Copy link
Author

  svn2git -v https://my.svnserver.com/svn/easy/ --trunk / --nobranches --notags

does the trick.

@ain
Copy link

ain commented Jun 26, 2013

I can confirm this:

ain$ svn2git https://svn.server.de:4443/svn/Repo/Repo/trunk/folder --rootistrunk --verbose
Running command: git svn init --prefix=svn/ --no-metadata --trunk=https://svn.server.de:4443/svn/Repo/Repo/trunk/folder
E: 'https:/svn.server.de:4443/svn/Repo/Repo/trunk/folder' is not a complete URL  and a separate URL is not specified
command failed:
2>&1 git svn init --prefix=svn/ --no-metadata --trunk=https://svn.server.de:4443/svn/Repo/Repo/trunk/folder

@aik099
Copy link

aik099 commented Jun 26, 2013

So where is the bug, in svn2git or git svn init?

@ain
Copy link

ain commented Jun 26, 2013

It's git svn init issue. You can easily confirm.

I'd close this issue as soon as the respective ticket for git svn init is created/found. It is certainly a rather nasty one and we should report it if it's not yet there.

@lilith
Copy link

lilith commented Oct 30, 2013

I can confirm the same problem:

$ svn2git http://fotofly.svn.codeplex.com/svn/ --rootistrunk -v
Running command: git svn init --prefix=svn/ --no-metadata --trunk=http://fotofly.svn.codeplex.com/svn/
E: 'http:/fotofly.svn.codeplex.com/svn' is not a complete URL  and a separate URL is not specified
command failed:
2>&1 git svn init --prefix=svn/ --no-metadata --trunk=http://fotofly.svn.codeplex.com/svn/

@MikeOrtiz
Copy link

Thanks @ponsfrilus, your workaround solved the issue for me as well.

@ponsfrilus
Copy link
Author

@MikeOrtiz : happy to help!

@SethTisue
Copy link

thank you, --trunk / saved the day today

@asbjornu
Copy link

I just had the same issue and --trunk / worked. I'm amazed that --rootistrunk and --trunk / would yield different results, though. Does anyone know why?

@rikckie
Copy link

rikckie commented Jun 1, 2015

@ponsfrilus thank-you

@Maki-Daisuke
Copy link

Thank you! This was a long-pending issue for me.

@uberbrady
Copy link

Just bit me today - and the --trunk / fixed it for me. Thanks again @ponsfrilus !!!

@arnumb
Copy link

arnumb commented Dec 8, 2020

After using "--trunk /" as mentioned in the suggestions, it gives a similar error:
E: '' is not a complete URL and a separate URL is not specified.
This is the command I am using:
svn2git -v "my URL" --trunk / --nobranches --notags --metadata

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