[Kde-scm-interest] svn move without history

Thiago Macieira thiago at kde.org
Thu Mar 11 22:17:07 CET 2010


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.

-- 
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/20100311/f745a568/attachment-0001.sig 


More information about the Kde-scm-interest mailing list