[Kde-scm-interest] New message: Re: svn2git for Boost

Thiago Macieira thiago at kde.org
Wed Jan 2 21:11:46 UTC 2013


On quarta-feira, 2 de janeiro de 2013 15.05.43, Dave Abrahams wrote:
> >> * Could you explain the "recurse" action?  We've read through the
> >>
> >>   explanation on the website several times and still can't understand
> >>   it.
> >>
> > I never used it, never needed to. I trust you've read this?
> > http://techbase.kde.org/Projects/MoveToGit/UsingSvn2Git
> 
> Yes, that's where the "explanation on the website" that I referred to lives.

The "recurse" action is used when you svn cp a directory above the root of 
your repositories in order to create the branch.

For example, KDE sources lived in /trunk/KDE and got branched to 
/branches/KDE/3.5. However, the kdelibs repository roots are at 
/trunk/KDE/kdelibs and /branches/KDE/3.5/kdelibs.

The way that svn2git works is that it looks at the list of changed files from 
SVN. In the svn cp that created the 3.5 branch like above, the repository root 
is not listed, so it doesn't match any rules. You add a "recurse" rule to make 
the tool list the repository at the specified revision and then apply the rule 
set again.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
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/20130102/0809e0ff/attachment.sig>


More information about the Kde-scm-interest mailing list