|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
How To Convert Zip Images of Directory to Subversion Revisions?Hello,
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: C:\Archive\2009-11-01.zip C:\Archive\2009-11-02.zip C:\Archive\2009-11-03.zip I have unzipped the contents of each zip to the respective directory as shown below: C:\Archive\2009-11-01\ C:\Archive\2009-11-02\ C:\Archive\2009-11-03\ I would like to import the contents of these folders to Subversion, with each folder being a new SVN revision: Revision 1 - C:\Archive\2009-11-01\ Revision 2 - C:\Archive\2009-11-02\ Revision 3 - C:\Archive\2009-11-03\ What is the best method for this with TortoiseSVN? Thanks! |
|
|
Re: How To Convert Zip Images of Directory to Subversion Revisions?On Wed, Nov 11, 2009 at 11:50, Brian Fischer <brianafischer@...> wrote:
> Hello, > > 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: > C:\Archive\2009-11-01.zip > C:\Archive\2009-11-02.zip > C:\Archive\2009-11-03.zip > > > I have unzipped the contents of each zip to the respective directory as > shown below: > C:\Archive\2009-11-01\ > C:\Archive\2009-11-02\ > C:\Archive\2009-11-03\ > > > I would like to import the contents of these folders to Subversion, with > each folder being a new SVN revision: > Revision 1 - C:\Archive\2009-11-01\ > Revision 2 - C:\Archive\2009-11-02\ > Revision 3 - C:\Archive\2009-11-03\ > > > What is the best method for this with TortoiseSVN? Don't use TSVN. svn_load_dirs.pl is what you want to use here. ------------------------------------------------------ http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2416660 To unsubscribe from this discussion, e-mail: [users-unsubscribe@...]. |
|
|
RE: How To Convert Zip Images of Directory to Subversion Revisions?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: c:\dev\MyProject 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, BOb From: Brian Fischer
[mailto:brianafischer@...] Hello, |
| Free embeddable forum powered by Nabble | Forum Help |