[Kde-scm-interest] svn move without history

Andreas Pakulat apaku at gmx.de
Fri Mar 12 00:26:31 CET 2010


On 11.03.10 13:17:07, Thiago Macieira wrote:
> Em Quinta-feira 11. Março 2010, às 11.30.59, Andreas Pakulat escreveu:
> > On 11.03.10 07:36:41, Thiago Macieira wrote:
> > > Em Quinta-feira 11. Março 2010, às 07.23.53, Torgny Nyblom escreveu:
> > > > Well I wan't to import the files into the same directory as they exit
> > > > in SVN. But my rules add them to the root.
> > > 
> > > Then do it. Write the rule that matches the root of the import, such that
> > > the rest of the SVN path is the Git path you want the files to be in.
> > 
> > I have a similar problem here and am wondering what you suggest to do in
> > case my "submodule" is a subdir of /branches/work/, i.e. I want exactly
> > 1 subdir of /branches/work/ in my repository in exactly the same way as
> > it later on gets moved to a different place in svn with the same name
> > and then renamed. (all via svn mv, i.e. with history).
> > 
> > I could have two rules, one matches /branches/work/, but I can't see how
> > to write a regexp that matches everything in /branches/work/ except
> > "mymodule".
> 
> Write many rules then: one to import and the rest to ignore the rest of the 
> data that you don't wnat.

Thats what I feared. Well, I guess I can at least make it bearable by
limiting to certain revisions...

Andreas

-- 
You will be awarded a medal for disregarding safety in saving someone.


More information about the Kde-scm-interest mailing list