[Kde-scm-interest] svn-all-fast-export versus the FreeBSD svn repository
Thiago Macieira
thiago at kde.org
Mon May 3 15:56:52 CEST 2010
Em Quarta-feira 28 Abril 2010, às 16:27:35, Ulrich Spörlein escreveu:
> > Later, when a branch is being made, it searches what was the SVN commit
> > immediately prior to the the source revision (qLowerBound will do that)
> > and tells git-fast-import that that's the source. In
> > Repository:;createBranch,
> >
> > where it says:
> >
> > fastImport.write("reset " + branchRef + "\nfrom " + branchFromRef +
> >
> > "\n\n");
> >
> >
> >
> > It needs to replace
> > "\nfrom " + branchFromRef
> > with
> > "\nfrom :" + QByteArray::number(mark)
> >
> >
> >
> > Note, however, that this list of commits would not be saved, which means
> > this process would work only for a full run of the tool. Incremental
> > runs wouldn't load previous marks and the tool wouldn't know which
> > commits it exported.
>
> My C++ fu is pretty weak, if someone could send me some rough patches
> to get me started I might be able to finish and debug them.
>
> Also, please have a look at
> https://www.spoerlein.net/gitweb/?p=svn2git.git;a=commitdiff;h=2eab29849a16
> b6ffa4f78d0392088e98b059d960 or git://acme.spoerlein.net/svn2git.git
>
> where I implemented the svn "replace" action for directories, which is
> required to get the main branches of the FreeBSD svn repo converted
> correctly.
I don't have time to look into this.
Can someone else in the mailing list review Uli's patch and apply to the
mainline svn2git?
Also, the code I suggested isn't hard to implement. Someone please look into
it.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-scm-interest/attachments/20100503/f3f0eaff/attachment.sig
More information about the Kde-scm-interest
mailing list