Closed CloCkWeRX closed 12 years ago
I'm getting the same error message. I recall seeing similar things when I tried to create a test package in svn. I believe it has to do with the item not being created "properly" in the svn repo. It seems you'll have to hack around with git svn clone manually.
Yeah; unfortunately there's a few of these out there too :(
On the unmaintained packages list; I need to work through a bunch and add them to git; or manually migrate. It'd be neat if this tool could detect when the 'first revision' check fails, and just do a normal 'git clone', taking longer but still getting the job done.
But the first revision check works. Something else is askew. Calling "git clone" without the -s option works. Calling "svn co" produces an error:
svn: warning: Error handling externals definition for 'Net_HL7/Net':
svn: warning: URL 'https://care2002.svn.sourceforge.net/svnroot/care2002/trunk/2.6/classes/php_hl7/Net' at revision 7260 doesn't exist
Checked out revision 320520.
Can you please fix the externals property and try again. I'm curious if that will fix it.
Didn't :(
I manually migrated this in the end.
$ ./1-from-svn.sh Net_HL7 Initialized empty Git repository in /home/clockwerx/pear-svn-git/Net_HL7/.git/ Using higher level of URL: http://svn.php.net/repository/pear/packages/Net_HL7 => http://svn.php.net/repository fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions log --no-color --no-decorate --first-parent --pretty=medium HEAD: command returned error: 128
ERROR: could not rebase Net_HL7.