Migrate multiple SVN in same GIT repo

Nicolás Alvarez nicolas.alvarez at gmail.com
Sat Jun 22 18:58:03 BST 2019


Yes, you can use the 'prefix' directive for that:

match /trunk/
    repository foo
    branch master
    prefix somefolder/
end match

El 22 jun. 2019, a la(s) 12:02, Calin Pavel <calin.pavel at tvh.com> escribió:

> Hi Nicolás,
> 
> Let's simplify problem. Is it possible to migrate content of a single SVN repo in a FOLDER inside a GIT repo?
> 
>> On Sat, 22 Jun 2019 at 00:52, Nicolás Alvarez <nicolas.alvarez at gmail.com> wrote:
>> El vie., 21 de jun. de 2019 a la(s) 05:44, Calin Pavel
>> (calin.pavel at tvh.com) escribió:
>> >
>> > Hello,
>> >
>> > I'm trying to migrate multiple SVN repos in a single Git repo and would like to put sources for each SVN into a different "root" folder.
>> >
>> > Is there any way to specify in the rules file something like:
>> > - for svn/trunk put files into repo X, folder Y?
>> >
>> >
>> 
>> The svn-all-fast-export tool doesn't support multiple SVN repos.
>> 
>> You could convert each SVN repo to a separate Git repo, and then
>> somehow merge the Git repos together, but I don't know exactly how to
>> achieve that.
>> 
>> Are you sure they are actually different SVN repositories, and not
>> folders in a single repository?
>> 
>> -- 
>> Nicolás
> 
> 
> -- 
> 
> Kind Regards,
> 
> CALIN PAVEL
> Software Engineer - consultant
> calin.pavel at tvh.com
> 
> TVH PARTS HOLDING NV
> Vichtseweg 129 • BE-8790 WAREGEM
> T +32 56 43 42 11 • F +32 56 43 44 88 • www.tvh.com
> 
> **** DISCLAIMER ****
> 
> This message is delivered to all addressees subject to the conditions set forth in the attached disclaimer, which is an integral part of this message.
> 
> When you communicate with us via e-mail, telephone, fax or via our website, we process your personal data. For more information on how we process your personal data, please consult our Privacy Policy. By communicating with us, you unambiguously consent to our use of your personal data as explained in the Privacy Policy.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-scm-interest/attachments/20190622/1028a4c2/attachment.html>


More information about the Kde-scm-interest mailing list