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

Thiago Macieira thiago at kde.org
Thu Jan 3 16:29:29 UTC 2013


On quinta-feira, 3 de janeiro de 2013 10.28.58, Dave Abrahams wrote:
> > 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.

The repository now called kdelibs.git was imported from:

	/trunk/KDE/kdelibs			-> master
	/branches/KDE/(\d.\d)/kdelibs	-> KDE/\1

The branching done for KDE 4.0, for example, was done:

	svn cp $SVNROOT/trunk/KDE $SVNROOT/branches/KDE/4.0

You can see it in the log:

------------------------------------------------------------------------
r757128 | mueller | 2008-01-04 07:09:11 -0200 (Fri, 04 Jan 2008) | 2 lines
Changed paths:
   A /branches/KDE/4.0 (from /trunk/KDE:757127)

Creating KDE 4.0 branch

------------------------------------------------------------------------

As you can see, there's no file path changing that would match 
/branches/KDE/(\d.\d)/kdelibs.

-- 
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/20130103/5a09468b/attachment.sig>


More information about the Kde-scm-interest mailing list