Em Quinta-feira 11. Março 2010, às 06.59.24, Torgny Nyblom escreveu:
> On Thursday 11 March 2010 14.32.32 Andreas Pakulat wrote:
> > On 11.03.10 14:04:08, Torgny Nyblom wrote:
> > > Hi,
> > > 
> > > When converting kdepim[libs] I found a problem I need to address.
> > > 
> > > There is a submodule that began life in a separate branch which was
> > > later merged without svn history. This should be handled by manually
> > > specifying the branch in a rule (?), but how do I make this code end
> > > up in the correct subfolder?
> > > 
> > > That is I have:
> > > 
> > > Branch A/Submodule/files
> > > Trunk/
> > > 
> > > Which became
> > > 
> > > Trunk/Submodule/files
> > > 
> > > But with the manual branch rule I get:
> > > 
> > > master/files
> > > 
> > > Should have gotten
> > > 
> > > master/Submodule/files
> > 
> > As far as I understand there's no way to _create_ history that doesn't
> > exist in Svn. So you cannot create a relation between master/Submodule
> > and brancha/submodule if it wasn't svn cp'ed, but instead was svn
> > add'ed. However in master's history you should see those files already
> > and that they were added.
> > 
> > To keep the history of brancha/submodule you'll have to create a separate
> > repository.
> 
> Ok, thanks for that.
> 
> But how do I get the files (in the separate branch) into the correct
> subdir?

You can't create history that doesn't exist in SVN, that includes getting files 
into directories that they aren't in.

You have to import only what's on SVN. You can later post-process the 
repository with dome git filter-branch rules, including the merging of the 
history you wanted.

-- 
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

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Kde-scm-interest mailing list
Kde-scm-interest@kde.org
https://mail.kde.org/mailman/listinfo/kde-scm-interest

Reply via email to