Migrer un projet SVN vers GIT - commentaires Migrer un projet <span class="caps">SVN</span> vers <span class="caps">GIT</span> 2017-11-02T09:09:31Z https://www.yterium.net/Migrer-un-projet-SVN-vers-GIT#comment550 2017-11-02T09:09:31Z <p>Simple et bien expliqué :)</p> <p>Merci<small class="fine d-inline"> </small>!</p> Migrer un projet <span class="caps">SVN</span> vers <span class="caps">GIT</span> 2015-07-01T08:00:58Z https://www.yterium.net/Migrer-un-projet-SVN-vers-GIT#comment506 2015-07-01T08:00:58Z <p>Pour ceux qui seraient sur Windows<small class="fine d-inline"> </small>;)</p> <div class="precode"><pre class="spip_code spip_code_block" dir="ltr" style="text-align:left;"><code>$author = svn log -q <<repo>> | Select-String -Pattern '^r' -list | %{ $_.Line.Split("|")[1];}| Sort-Object | Get-Unique | | %{ echo "$_ = ${_%@*} <{$_}>" | Out-File -Encoding default -Append author.txt</code></pre></div> Migrer un projet <span class="caps">SVN</span> vers <span class="caps">GIT</span> 2014-01-02T16:28:56Z https://www.yterium.net/Migrer-un-projet-SVN-vers-GIT#comment357 2014-01-02T16:28:56Z <p>Pour info, c'est ce site qui m'a aidé a résoudre mon problème :<br class="autobr"> <a href="http://randomallsorts.blogspot.fr/2011/10/using-git-svn-with-large-repository.html" class="spip_url spip_out auto" rel="nofollow external">http://randomallsorts.blogspot.fr/2011/10/using-git-svn-with-large-repository.html</a></p> Migrer un projet <span class="caps">SVN</span> vers <span class="caps">GIT</span> 2014-01-02T16:14:44Z https://www.yterium.net/Migrer-un-projet-SVN-vers-GIT#comment356 2014-01-02T16:14:44Z <p>J'ai trouvé la solution a mon problème , l'erreur viens quand on a un gros repo avec des fichiers volumineux, git svn clone n'arrive pas jusqu'au bout<small class="fine d-inline"> </small>!</p> <p>La dernière révision récupéré avant l'erreur étais r480.<br class="autobr"> sachant que mon repo a 600 révisions (svn log) donc j'ai joué les commandes suivantes :</p> <p>git svn clone -r1:400 http://url-repo<br class="autobr"> git svn fetch -r400:500<br class="autobr"> git svn fetch -r500:600<br class="autobr"> git svn rebase</p> <p>Je ne sais pas si c'est la meilleur solution mais ça marchais pour moi :)</p> <p><span class="caps">MERCI</span></p> Migrer un projet <span class="caps">SVN</span> vers <span class="caps">GIT</span> 2014-01-02T11:50:51Z https://www.yterium.net/Migrer-un-projet-SVN-vers-GIT#comment355 2014-01-02T11:50:51Z <p>Bonjour,</p> <p>Après avoir exécuter la commande svn git clone d'un repo <span class="caps">SVN</span> , j'ai ce message d'erreur aprés quelques minutes :</p> <p><span class="caps">RA</span> layer request failed : <span class="caps">REPORT</span> of '/repositories/<span class="caps">GALEC</span>-<span class="caps">SCANER</span>-<span class="caps">DEV</span>/<small class="fine d-inline"> </small>!svn/vcc/default' : Could not read chunk delimiter : connection was closed by server (<a href="http://repository.neoxia.net" class="spip_url spip_out auto" rel="nofollow external">http://repository.neoxia.net</a>) at /usr/local/git/lib/perl5/site_perl/Git/<span class="caps">SVN</span>/Ra.pm line 282</p> <p>Quelqu'un a déja rencontré ce problème<small class="fine d-inline"> </small>? avez vous des solutions<small class="fine d-inline"> </small>?</p> <p><span class="caps">MERCI</span></p> Migrer un projet <span class="caps">SVN</span> vers <span class="caps">GIT</span> 2013-06-06T11:25:25Z https://www.yterium.net/Migrer-un-projet-SVN-vers-GIT#comment277 2013-06-06T11:25:25Z <p>Sauf erreur, l'option —no-metadata lors du git svn clone évite les ids des commits svn.</p> Migrer un projet <span class="caps">SVN</span> vers <span class="caps">GIT</span> 2012-09-25T14:31:16Z https://www.yterium.net/Migrer-un-projet-SVN-vers-GIT#comment197 2012-09-25T14:31:16Z <p>Merci pour ce tuto.</p> <p>Par contre, je trouve un peu fastidieux de refaire les tag a la main.<br class="autobr"> Dans mon cas, les tags sont représenté par un nouveau commit.</p> <p>J'ai donc fait un petit script pour retagguer : <br class="autobr"> <a href="https://gist.github.com/3782266" class="spip_url spip_out auto" rel="nofollow external">https://gist.github.com/3782266</a></p> <div class="precode"><pre class="spip_code spip_code_block" dir="ltr" style="text-align:left;"><code>Pour info, voila l'arbre que j'ai eu après l'import du SVN : * 0b2fddc - (HEAD, master) Added gitkeep (Grégoire Pineau 76 minutes ago) * 9518324 - (trunk) Added views_data_export module (julien.manganne 5 hours ago) | * ba56819 - (tags/2012_09_19_1.1.20) created tag v1.1.20 (gregoire.pineau 6 days ago) |/ * 2d936a7 - (trunk, 2012_09_19_1.1.20) Tâche #9698 - Rajout d'un tag (GA) dans le template global (julien.manganne 6 days ago) | * d420424 - (tags/2012_07_23_1.1.19) created tag v1.1.19 (gregoire.pineau 9 weeks ago) |/</code></pre></div> Migrer un projet <span class="caps">SVN</span> vers <span class="caps">GIT</span> 2012-04-07T11:06:02Z https://www.yterium.net/Migrer-un-projet-SVN-vers-GIT#comment108 2012-04-07T11:06:02Z <p>Bonjour,</p> <p>Merci pour ce tutoriel fort utile et il est vrai que la commande git svn simplifie le travail. Elle est donc intéressante.</p> <p>Sinon, je suis assez d'accord pour dire que Git est assez simple à gérer et utiliser et j'ai l'impression que de plus en plus de projets s'y mettent. On verra à la longue mais l'outil prend de l'ampleur.</p>