git-svnimport -- http/dav authentication notes
- From
Martin Langhoff <martin.langhoff@gmail.com>
- Date
- Feb 20, 2006, 07:24 UTC
- Message-ID
- <46a038f90602192324v7193f154od4ff6952a68c799d@mail.gmail.com>
After a lot of trial and error against a server I don't control (so I can't log things on) I've managed to use svn-import on it and it mostly seems to work. Kind of. It's slowly grinding through the commits.
To make it short, I seem to be doing well with:
git-svnimport -t tags -T trunk -b branches -o svntrunk -v
'http://martin%40catalyst.net.nz:password@nameless.server.org/svn/someproject'The repo has LDAP authentication, and the username is my email address, so I guessed that url-encoding would work, and it did.
svnimport is a bit of a mistery actually. I often know if it's really doing the import or the files are going to be there but empty. SVN is so flexible in its "everything is a directory" way of thinking that if I mess up -t or -b I get the commits alright... but no files.
Strange world, svn ;-)
martin