[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-scm-interest
Subject:    Re: Migrate multiple SVN in same GIT repo
From:       Nicolás_Alvarez <nicolas.alvarez () gmail ! com>
Date:       2019-06-22 17:58:03
Message-ID: 62C126B1-95A0-4F87-9339-76ED7FBD4F03 () gmail ! com
[Download RAW message or body]

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@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@gmail.com> wrote:
> > El vie., 21 de jun. de 2019 a la(s) 05:44, Calin Pavel
> > (calin.pavel@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@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.


[Attachment #3 (text/html)]

<html><head><meta http-equiv="content-type" content="text/html; \
charset=utf-8"></head><body dir="auto"><div>Yes, you can use the 'prefix' directive \
for that:</div><div><br></div><div>match /trunk/</div><div>&nbsp; &nbsp; repository \
foo</div><div>&nbsp; &nbsp; branch master</div><div>&nbsp; &nbsp; prefix \
somefolder/</div><div>end match</div><div><br>El 22 jun. 2019, a la(s) 12:02, Calin \
Pavel &lt;<a href="mailto:calin.pavel@tvh.com">calin.pavel@tvh.com</a>&gt; \
escribió:<br><br></div><blockquote type="cite"><div><div dir="ltr">Hi \
Nicolás,<div><br></div><div>Let's simplify problem. Is it possible to migrate \
content of a single SVN repo in a FOLDER inside a GIT repo?</div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 22 Jun 2019 at 00:52, \
Nicolás Alvarez &lt;<a \
href="mailto:nicolas.alvarez@gmail.com">nicolas.alvarez@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">El vie., 21 de jun. de \
2019 a la(s) 05:44, Calin Pavel<br> (<a href="mailto:calin.pavel@tvh.com" \
target="_blank">calin.pavel@tvh.com</a>) escribió:<br> &gt;<br>
&gt; Hello,<br>
&gt;<br>
&gt; 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.<br> &gt;<br>
&gt; Is there any way to specify in the rules file something like:<br>
&gt; - for svn/trunk put files into repo X, folder Y?<br>
&gt;<br>
&gt;<br>
<br>
The svn-all-fast-export tool doesn't support multiple SVN repos.<br>
<br>
You could convert each SVN repo to a separate Git repo, and then<br>
somehow merge the Git repos together, but I don't know exactly how to<br>
achieve that.<br>
<br>
Are you sure they are actually different SVN repositories, and not<br>
folders in a single repository?<br>
<br>
-- <br>
Nicolás<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" \
class="gmail_signature">   <div><br><div \
style="font-family:Verdana;font-size:11px;color:rgb(81,81,81);text-decoration:none">Kind \
Regards,<br><br><b><font color="#BE1128">CALIN PAVEL</font><br>Software Engineer  - \
consultant</b><br> <a href="mailto:calin.pavel@tvh.com" target="_blank"><font \
color="#515151">calin.pavel@tvh.com</font></a><br><br><font color="#BE1128"><b>TVH \
PARTS HOLDING NV</b></font><br>Vichtseweg 129 • BE-8790 WAREGEM<br>T <a \
href="tel:+3256434211" style="color:rgb(81,81,81);text-decoration:none" \
target="_blank">+32 56 43 42 11</a> • F <a \
style="color:rgb(81,81,81);text-decoration:none">+32 56 43 44 88</a> • <a \
href="http://www.tvh.com" target="_blank"><font \
color="#515151">www.tvh.com</font></a></div></div></div>

<br>
<p style="font-size:10px;font-family:arial,sans-serif;color:rgb(34,34,34);background-color:rgb(255,255,255)"><font \
size="2">**** <a href="https://media.tvh.com/content/pdf/various/Email-disclaimer.pdf" \
target="_blank">DISCLAIMER</a> ****</font></p><p style="font-family:&quot;Times New \
Roman&quot;;font-size:10px;margin:12pt \
0cm;text-align:justify;line-height:17.1733px"><font color="#222222" face="Times New \
Roman, serif" size="2">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.</font></p><p style="font-family:&quot;Times New \
Roman&quot;;font-size:10px;margin:12pt \
0cm;text-align:justify;line-height:17.1733px"><span \
style="color:rgb(34,34,34);font-family:&quot;Times New \
Roman&quot;,serif;font-size:small">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&nbsp;<a \
href="https://www.tvh.com/privacy-policy" target="_blank">Privacy Policy</a>.&nbsp;By \
communicating with us, you unambiguously consent to our use of your personal data as \
explained in the Privacy Policy.</span></p></div></blockquote></body></html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic