{"thread":{"id":"3401","subject":"git-svnimport -- http/dav authentication notes","startedAt":"2006-02-20T07:24:17Z","lastAt":"2006-02-20T19:22:25Z","messageCount":2,"participants":["Martin Langhoff","Eric Wong"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"16440","messageId":"46a038f90602192324v7193f154od4ff6952a68c799d@mail.gmail.com","threadId":"3401","inReplyTo":null,"subject":"git-svnimport -- http/dav authentication notes","fromName":"Martin Langhoff","fromEmail":"martin.langhoff@gmail.com","sentAt":"2006-02-20T07:24:17Z","receivedAt":"2006-02-20T07:24:17Z","isPatch":false,"sender":{"key":"martin.langhoff@gmail.com","avatar":"https://gravatar.com/avatar/1e3f311b6c4c15836501901ca58f8c0b0667246488084ba524d8bc9867e22fd9?d=mp&s=160"},"body":"After a lot of trial and error against a server I don't control (so I\ncan't log things on) I've managed to use svn-import on it and it\nmostly seems to work. Kind of. It's slowly grinding through the\ncommits.\n\nTo make it short, I seem to be doing well with:\n\n   git-svnimport -t tags -T trunk -b branches -o svntrunk -v\n         'http://martin%40catalyst.net.nz:password@nameless.server.org/svn/someproject'\n\nThe repo has LDAP authentication, and the username is my email\naddress, so I guessed that url-encoding would work, and it did.\n\nsvnimport is a bit of a mistery actually. I often know if it's really\ndoing the import or the files are going to be there but empty. SVN is\nso flexible in its \"everything is a directory\" way of thinking that if\nI mess up -t or -b I get the commits alright... but no files.\n\nStrange world, svn ;-)\n\n\nmartin\n"},{"id":"16471","messageId":"20060220192225.GB18085@hand.yhbt.net","threadId":"3401","inReplyTo":"46a038f90602192324v7193f154od4ff6952a68c799d@mail.gmail.com","subject":"Re: git-svnimport -- http/dav authentication notes","fromName":"Eric Wong","fromEmail":"normalperson@yhbt.net","sentAt":"2006-02-20T19:22:25Z","receivedAt":"2006-02-20T19:22:25Z","isPatch":false,"sender":{"key":"e@80x24.org","avatar":null},"body":"Martin Langhoff <martin.langhoff@gmail.com> wrote:\n> After a lot of trial and error against a server I don't control (so I\n> can't log things on) I've managed to use svn-import on it and it\n> mostly seems to work. Kind of. It's slowly grinding through the\n> commits.\n> \n> To make it short, I seem to be doing well with:\n> \n>    git-svnimport -t tags -T trunk -b branches -o svntrunk -v\n>          'http://martin%40catalyst.net.nz:password@nameless.server.org/svn/someproject'\n> \n> The repo has LDAP authentication, and the username is my email\n> address, so I guessed that url-encoding would work, and it did.\n\nLogging in with the svn command-line client (svn ls <url>) be enough to\ncache auth information for the SVN library (and therefore svnimport)?\nUnless you've disabled it in your config, of course...\n\n> svnimport is a bit of a mistery actually. I often know if it's really\n> doing the import or the files are going to be there but empty. SVN is\n> so flexible in its \"everything is a directory\" way of thinking that if\n> I mess up -t or -b I get the commits alright... but no files.\n> \n> Strange world, svn ;-)\n\nHear, hear.  I always had to reread the manpage or look here for\nexamples on how to use it.  And then echo !! > .git/info/svnimport-cmd\nafter I was done using it so I wouldn't have to remember which command\nswitches I used.\n\nThen I decided to write git-svn :>\n\n-- \nEric Wong\n"}]}