[Kde-scm-interest] [Bug 242949] svn2git needs some adaptions

Thiago Macieira thiago at kde.org
Sun Jun 27 16:17:12 CEST 2010


Em Domingo 27. Junho 2010, às 15.58.01, Johannes Obermayr escreveu:
> On Sunday 27 June 2010 15:35:35 Thiago Macieira wrote:
> > Em Domingo 27. Junho 2010, às 15.13.19, Johannes Obermayr escreveu:
> > > To keep complete history svn2git must offer pushing commits in "branch
> > > master/...". That means "master" is the "branch" and "..." is the
> > > directory where the commits have to put. This should be solvable with
> > > a keyword like "dir"
> > 
> > You don't need that. Import into separate branches, at the root, then use
> > git mv and git merge once the import is complete.
> 
> It is not effective and not efficient. I have to merge ~ 45 branches (main
> and doc for each game) into master by hand.
> 
> And for all other modules it must be done, too. Also the merge happens at a
> wrong time ...
> 
> So with a keyword you can save much time and a frustrating job ...

A keyword would require rewriting the inner loop of the import tool. It 
assumes a 1:1 relationship between a Git branch and the SVN branch.

Merging 45 branches or 90 branches is quite easy, with a simple script.
-- 
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/20100627/1dcfe88c/attachment.sig 


More information about the Kde-scm-interest mailing list