Skip to contentSkip to conversation

git-svnimport on OSX?

DISCUSSION Randal L. Schwartz 3 participants 4 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Working for anyone? Not working for me, and just wondered if it was me or a known thing. Maybe I'm just holding my mouth wrong, and yes, I have SVN::Core installed. If anyone wants details, I can provide.

Signature · 4 lines
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[email protected]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
#1 lore raw
Quoted 4 lines · Randal L. Schwartz

Working for anyone? Not working for me, and just wondered if it was me or a known thing. Maybe I'm just holding my mouth wrong, and yes, I have SVN::Core installed. If anyone wants details, I can provide.

I think I tried and gave up on it a month or two ago, but can't remember the details. Fink's SVN::Core is too old, and having all the SVN toolchain is a pain. What is the problem?

BTW, getting git-svnimport to work normally takes me quite a few tries with different options, so OSX may be perfectly innocent this time...

m

#2 lore raw
Quoted 6 lines · Martin Langhoff
Quoted 4 lines · Randal L. Schwartz

Working for anyone? Not working for me, and just wondered if it was me or a known thing. Maybe I'm just holding my mouth wrong, and yes, I have SVN::Core installed. If anyone wants details, I can provide.

Quoted 6 lines

I think I tried and gave up on it a month or two ago, but can't remember the details. Fink's SVN::Core is too old, and having all the SVN toolchain is a pain. What is the problem?

BTW, getting git-svnimport to work normally takes me quite a few tries with different options, so OSX may be perfectly innocent this time...

Could you try http://www.wingding.demon.nl/git-svnconvert.rb on MacOSX? This one doesn't need SVN::Core, and I'm curious on what to change for MacOSX.

By default it imports all branches it can find (see in file itself):

...
$branch_dirs = %q{
/branches/*
/trunk
}
...

If your layout is different (for example, like
http://svn.perl.org/perl6 where every subdir is a collection of branches itself), use something like:

...
$branch_dirs = %q{
*/branches/*
*/trunk
}
...

Signature · 3 lines
Rutger Nijlunsing ---------------------------------- eludias ed dse.nl
never attribute to a conspiracy which can be explained by incompetence
----------------------------------------------------------------------
#3 lore raw
In reply to Martin Langhoff
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Martin" == Martin Langhoff <[email protected]> writes:

Martin> BTW, getting git-svnimport to work normally takes me quite a few tries Martin> with different options, so OSX may be perfectly innocent this time...

Well, is there some combination of things that will give me what
http://svn.perl.org/perl6/doc does? Maybe it just resists all attempts. :)

Signature · 4 lines
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[email protected]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!