On Apr 28, 2011, at 05:27, Ulrich Eckhardt wrote:
> On Thursday 28 April 2011, List Man wrote:
>> I want to take one project from one repo and put it in a directory under
>> another repo.  Is it possible to keep the history of said project?
> 
> No, not through the client interface, which is what you use for everyday work.
> 
> If you have direct access to the repository, you could use e.g. the 
> dumpfilter 
> tool to change history retrospectively.
That is to say, you can "svnadmin dump" the repo that contains the project now, 
"svndumpfilter" the dumpfile to extract only that project, and then "svnadmin 
load" it into the new repository. If you don't have access to the old 
repository, you can "svnsync" the old repository to a new empty repository on 
your machine, then "svnadmin dump" that.

Loading the project into the new repository will probably destroy your ability 
to use dates as revisions in the new repository, because revisions will 
probably no longer be chronological. To work around that, you can dump the new 
repository too, and use svndumptool to merge the two dumpfiles with revisions 
interleaved in chronological order. This will renumber your old revisions 
though, and everyone will have to check out new working copies of the new 
repository, and you may not like either of those consequences either.





Reply via email to