On May 25, 2006, at 18:30, Daniel E. Renfer wrote:
>>> I have a few projects using Subversion. I found a few archived
>>> copies of old pre-Subversion versions, that I thought it might make
>>> sense to load into the repository. Logically they come BEFORE the
>>> first revision in the repository.
>>>
>>> Seems like it might be a good idea to have them loaded, so
>>> everything
>>> is available through Subversion.
>
> There is a way to get files checked into a repository as older
> revisions, but it is *not* easy. Let me tell you what I did, and you
> can decide if it's worth the hassle for you. (my guess is no)
>
> 1) create a new repository
> 2) commit all of your older files into this new repository in their
> proper order
> 3) dump all of the revisions from that repository
> 4) open them up in a text editor and fix the time-date stamps. I used
> Emacs for this as just about every other editor would corrupt my
> dumpfiles
> 5) create another repository
> 6) load the modified dumpfiles into the new repository. They should
> now have the proper dates.
> 7) dump all of the revisions from your original repository
> 8) open those dumpfiles in emacs
> 9) change all of the revision numbers and copy-from-rev's
> appropriately
> 10) load the modified dumpfiles into the repository created in step 5
> 11) rename the repository and replace the original repository
You could also replace steps 3 thru 6 with the use of the svn propset
command to fix the date/time of each revision of the newly created
repository.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun May 28 19:46:35 2006