[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Putting old versions into repository

From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Thu, 2 Sep 2010 11:02:03 -0400

> I'm new to TortoiseSVN so I apologize in advance if this is a dumb
> question or has been answered many times before (I have looked and
> I
> could not find an answer).
>
> We have an old (10+ years) legacy code (with 5000+ files in
> multiple
> directories) that we want to put into TortoiseSVN. We have been
> doing
> configuration management the old fashioned way of saving the entire
> code (all 5000 files and multiple directories) into backup
> directories. It is easy to put the current version of the code into
> TortoiseSVN and proceed. What we would like to do is put some of
> those
> older saved versions into the repository. How do I do that? I tried
> by
> first starting the repository with the 10 year old version. I then
> deleted everything in that directory and copied in the 9 year old
> version into my working copy and committed but that obviously did
> not
> work because all the .svn directories had been deleted. There are
> too
> many files for me to manually update in my working copy and commit.
> Any ideas? Thanks!

To do this manually here is what you would do...

1. Create your repository.
2. Import the oldest version of source you want to retain into it.
3. Do a check out to create a working copy.
4. Copy your next oldest version into your working copy.
5. Commit
6. If more to do go to step 4.

There is a tool called svn_load_dirs.pl that actually is supposed to automate all this. I have never used it. I also don't know where it is. Since they move subversion to apache I'm not sure where all those little utilities are now hosted.

BOb

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2654817

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-09-02 17:02:13 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.