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
At the time that I did this, I was merging 3 different repositories as
well as renaming and pruning files and it took several days for less
than 100 revisions. While regex can ease this task slightly, it was a
long boring task. If it's worth it to you, it can be done, but if
you're looking at 3000+ revisions and wanting to do this, you're
probably better off doing what Nico said, and just import them as a
tag.
Hope this helps.
Daniel E. Renfer (http://kronkltd.net/)
On 5/25/06, Nico Kadel-Garcia <nkadel@comcast.net> wrote:
> Patrick Johnson wrote:
> > Hi,
> >
> > 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.
> >
> > Is this a good idea ? Is there a good way to do it ?
> >
> > Thanks,
> > Patrick
>
> That's a separate problem and deserves its own thread. But if you want to
> import such old projects, why not import them to new, appropriately labeled
> tags?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu May 25 18:31:47 2006