I determined that the host name in the svn URL was incorrect. The "Use of uninitialized value in concatenation (.) or string at /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/SVN/Core.pm line 584." didn't help much. The hint here was "Network connection closed unexpectedly" after which I just happened to notice the bad hostname. Actually, I think it was a bad character inserted because I copied/pasted of a number of commands at once into terminal.app, which tends to cause issues. Hope this helps someone else.
$ git svn clone svn+ssh://firstname.lastname@example.org/path/to/svn/project/dir --no-metadata -T trunk /path/to/local/git/repo/project/dir Use of uninitialized value in concatenation (.) or string at /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/SVN/Core.pm line 584. Network connection closed unexpectedly: at /opt/local/libexec/git-core/git-svn line 1888
Wednesday, April 28, 2010
Misspelled Hostname in SVN URL Causes Wierd Error When Converting Subversion to Git
Got the following error when trying to convert an svn project to a git repo: