* git-svnimport -- http/dav authentication notes
@ 2006-02-20 7:24 Martin Langhoff
2006-02-20 19:22 ` Eric Wong
0 siblings, 1 reply; 2+ messages in thread
From: Martin Langhoff @ 2006-02-20 7:24 UTC (permalink / raw)
To: Git Mailing List
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
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: git-svnimport -- http/dav authentication notes
2006-02-20 7:24 git-svnimport -- http/dav authentication notes Martin Langhoff
@ 2006-02-20 19:22 ` Eric Wong
0 siblings, 0 replies; 2+ messages in thread
From: Eric Wong @ 2006-02-20 19:22 UTC (permalink / raw)
To: Martin Langhoff; +Cc: Git Mailing List
Martin Langhoff <martin.langhoff@gmail.com> wrote:
> 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.
Logging in with the svn command-line client (svn ls <url>) be enough to
cache auth information for the SVN library (and therefore svnimport)?
Unless you've disabled it in your config, of course...
> 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 ;-)
Hear, hear. I always had to reread the manpage or look here for
examples on how to use it. And then echo !! > .git/info/svnimport-cmd
after I was done using it so I wouldn't have to remember which command
switches I used.
Then I decided to write git-svn :>
--
Eric Wong
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-02-20 19:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-20 7:24 git-svnimport -- http/dav authentication notes Martin Langhoff
2006-02-20 19:22 ` Eric Wong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox