[Kde-scm-interest] New message: Re: svn2git for Boost
Dave Abrahams
dave at boostpro.com
Thu Jan 3 15:28:58 UTC 2013
Hi Thiago,
Thanks for getting back to us...
on Wed Jan 02 2013, Thiago Macieira <thiago-AT-kde.org> wrote:
> 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.
Sorry, I'm still not seeing it. Could you:
- define what you mean by "the root of your repositories"
- give the path to what you consider to be the root for KDE
- give the exact svn cp command that corresponds to this KDE example
- show a fragment of ruleset that corresponds to this KDE example
? I think if I had all that, I'd understand.
Many thanks,
--
Dave Abrahams
BoostPro Computing Software Development Training
http://www.boostpro.com Clang/LLVM/EDG Compilers C++ Boost
More information about the Kde-scm-interest
mailing list