[Kde-scm-interest] Re: Tracking directory moves

Arno Rehn kde at arnorehn.de
Mon Nov 22 18:09:00 CET 2010


(Sorry Niko for sending the initial reply directly to you, KMail didn't 
realize that this is a mailing list...)

On Monday 22 November 2010 17:49:18 you wrote:
> 2010/11/22 Arno Rehn <kde at arnorehn.de>:
> > Hi again,
> > 
> > while tracking down the last issue, I've also found out that svn2git
> > won't currently track the move from kdebindings/qtruby to
> > kdebindings/ruby/qtruby. I thought an 'action recurse' rule on
> > /trunk/KDE/kdebindings/ruby/qtruby/ would fix this, but apparently it
> > doesn't.
> > Does anyone know what's wrong with the rules? (Rules attached).
> > The relevant commit is r653117 [0].
> 
> You convert into one git repository, svn2git can't help.
> 
> If you create multiple repositories with svn2git - instead of
> splitting afterwards - you
> can use recurse on kdebindings (not on ruby itself).
> But recurse won't be needed for this particular move anyway - you need it
> eg. when the whole KDE was tagged.
Hum. Alright, what do I need to do then to keep the whole history of the moved 
files? Currently history starts at commit 653117 (i.e. the commit where stuff 
was moved) - everything before that is not there, or rather, not connected 
with those moved files. (I can check out a branch before the move for example 
and then I have all that history, of course. But since the files were just 
moved, I'd expect this history to show up for the current files, too).

-- Arno


More information about the Kde-scm-interest mailing list