[Kde-scm-interest] svn move without history

Torgny Nyblom kde at nyblom.org
Thu Mar 11 15:59:24 CET 2010


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?

/Regards
Torgny


More information about the Kde-scm-interest mailing list