Xn Nooby wrote:
> Is it possible to load part of a dump in to an existing repo?
>
> I have a branch, say ClientB, that is based on the branch ClientA. I
> created ClientB by using an "svn copy" from CLientA. For example:
>
> svn copy svn://myrepo/clienta/trunk svn://myrepo/clientb
>
> Now, I want to give ClientB access to their source code, but I don't
> want them to be able to see ClientA changes in the svn log. So I plan
> to split myrepo in to two repos: clienta_repo and clientb_repo.
>
> I ran in to an existing problem when I tried to create the ClientB
> repo. When I tried dumping myrepo, and using svndumpfilter to only
> include ClientB entries, I got the error "svndumpfilter: Invalid copy
> source".
>
> svndumpfilter include myrepo/clientb > clientb_dump.txt
>
> Googling showed that the ClientB history that went back in to ClientA,
> was not able to be dumped because I was only including the ClientB
> branch. Which makes sense.
>
> Apparently, there is no way around this using svndumpfilter.
>
> So I am wondering if I can export ClientA as of the revision CLientB
> was "svn copied", and then somehow dump and load the history of
> ClientB from that revision. The goal would be to have a clientb_repo
> that had an initial version from ClientA, plus just the ClientB
> history of changes.
>
> I suspect I can delete all the entries in the clientb_dump.txt up to
> the revision number of when it was supposed to have been created.
>
> Any suggestions?
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1240371
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
You should start the dump on the revision before you created the branch
and NOT using --incremental.
by this way this revision will hold all information to reconstruct the
repository in this state(of course without history before the branching)
Regards,
Lutz
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1246840
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-03-01 07:55:58 CET