RE: How To Convert Zip Images of Directory to Subversion Revisions?
From: Bob Archer <bob.archer_at_amsi.com>
Date: Wed, 11 Nov 2009 12:47:04 -0500
What I would recommend is to put that stuff into trunk... I assume this is an archive of your current work in progress?
I would create use the repo browser to create a project folder in your repo then a trunk folder....
Check out the folder so you have a working copy on your machine, lets say:
Then unzip the oldest zip into this folder. Right click on the folder and choose add... then commit. Create a commit message like "archive from 2001-11-01".
Next, unzip the next days archive into the folder. Do another add, in case there are new files. Then... commit with a message ... archive from ...
Keep doing this until you are caught to up today... then copy the code from todays changes into it.
Once you have done that you can start using svn with the normal workflow recommended in the book.
The only thing that might cause a problem is if a file has been deleted from one day to the next. You would need to manually use the TSVN-Delete on that file. So, if it is possible a file is not in say the archive from 2009-11-02 that was in 2009-11-01 you will have to maybe use a compare tool to know that ahead of time so you can delete those files after putting the archive into your working copy and before committing it.
Hope this makes sense,
From: Brian Fischer [mailto:brianafischer_at_gmail.com]
I am working on converting our code library to Subversion and we are using TortoiseSVN as the client.
The previous archiving method was to create a zip file of the project directory at the end of each day. These zip files were placed into an "Archive" folder after creation:
I have unzipped the contents of each zip to the respective directory as shown below:
I would like to import the contents of these folders to Subversion, with each folder being a new SVN revision:
What is the best method for this with TortoiseSVN?
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
This is an archived mail posted to the TortoiseSVN Users mailing list.