git-svn anonymous checkout fails with -s

anonymous, authentication, git-svn, https

Solution

I have an idea what this might be related to:

http://subversion.tigris.org/issues/show_bug.cgi?id=3242

If it's not that, then you're likely out of luck... The root of my repository is not publicly accessible...

Problem

I'm trying to use git to clone an svn repository with std layout (using the `-s` option). The repository uses `https` anonymously (the repository is at https://secure.simplistix.com/svn/xlwt/). I can check the repository out fine using `svn`, but with `git-svn` I get password prompts and then cannot check out (I don't have an account for this repository): ``` Authentication realm: Simplistix Subversion Server Password for 'davidf': Authentication realm: Simplistix Subversion Server Username: Password for '': Authentication realm: Simplistix Subversion Server Username: Password for '': W: Ignoring error from SVN, path probably does not exist: (160013): Filesystem has no item: '/svn/!svn/bc/100/xlwt' path not found W: Do not be alarmed at the above message git-svn is just searching aggressively for old history. This may take a while on large repositories ``` The resulting repository is entirely empty `git-svn` seems to assume that if the repository starts with `https`, authentication is required. Is there a way to work around this?

Original source