[Kde-scm-interest] cvs2svn converted tag created from branch

Niko Sams niko.sams at gmail.com
Sun Mar 14 17:19:28 CET 2010


On Sun, Mar 14, 2010 at 09:30, Niko Sams <niko.sams at gmail.com> wrote:
> On Sat, Mar 13, 2010 at 23:02, Thiago Macieira <thiago at kde.org> wrote:
>> Em Sábado 13. Março 2010, às 08.29.51, você escreveu:
>>> On Sat, Mar 13, 2010 at 15:08, Thiago Macieira <thiago at kde.org> wrote:
>>> > Em Sábado 13. Março 2010, às 00.57.57, Niko Sams escreveu:
>>> >> Hi,
>>> >>
>>> >> I still working on quanta conversion and need some advice (Thiago?) on
>>> >> this commit:
>>> >> http://websvn.kde.org/?view=revision&revision=212623
>>> >>
>>> >> The thing is tag 3.1.0 has been created from branch 3.1, but cvs2svn did
>>> >> this by copying /trunk, removing unneded stuff and copying the
>>> >> individual files from 3.1.
>>> >>
>>> >> Very simplified rules that show just this problem are below, they can
>>> >> be run very quickly with
>>> >> --resume-from 190000 --max-rev 200000
>>> >
>>> > I don't see any way of doing that in svn2git because the history is
>>> > actually wrong in SVN, from the way that svn2git looks at it.
>>> >
>>> > I'd recommend that you do the import as-is and fix it up in Git later.
>>>
>>> afaics this issue is not restricted to quanta - it affects KDE too:
>>> http://websvn.kde.org/?view=revision&revision=218032
>>>
>>> Or am I wrong?
>>
>> No, you're not.
>>
>> But the entire set of branches imported from CVS is broken. Don't bother with
>> them when importing from SVN to Git.
>>
>> They need to be reimported from CVS.
> For quanta I have written a script that figures out the tags adds them.
> I'll push it later.
I pushed that script (yes, kick me for using php :D) that tags quanta
correctly - it should
be possible to use it for other modules too.
I can adapt it, just ask me.

Niko


More information about the Kde-scm-interest mailing list