moving scratch repositories?

Marco Martin notmart at gmail.com
Thu Feb 3 18:28:44 GMT 2011


Hi all,
thi probably isn't going to be a good workflow for the future, but now that 
kdelibs and base  are just being converted i think would be a pretty common 
problem.

basically, what i have is some repositories (one born as git, two converted 
from playground stuff in svn) that are meant to be subfolders of kde-runtime 
and kdelibs (but kinda buildable indipendently, that's why there is this 
situation)

In the future probably stuff that is intended as part of a bigger repo should 
just start as a branch, but a) this wasn't possible pre-git abd b) there will 
be still probably cases when stuff has to migrate between repos

so, what should happen is, everyting in the scratch repo, should become 
basically a branch of the master branch (in my first two cases runtime) with 
all the commits (just linear story) of the repo as commits in the branch, in 
that subfolder.

i tried with  git-read-tree of a remote, but seems to forget history.

Is this possible? how is supposed to be done in those cases?

probably in the future this will be very rare, but i think at the beginning 
there will be quite a lot of little scratch repos/pieces of playground that 
will have to be pulled in, so should be done in the less-wrong-way(tm)
;)

Cheers, 
Marco Martin




More information about the kde-core-devel mailing list