[Kde-scm-interest] svn move without history

Torgny Nyblom kde at nyblom.org
Fri Mar 12 07:31:44 CET 2010


On Thursday 11 March 2010 22.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.

Will these ignore rules hamper the automatic recursion if another subdir is 
copied with history?

/Torgny


More information about the Kde-scm-interest mailing list