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

RE: how to integrate a zip based archive into svn

From: Kerry, Richard <richard.kerry_at_atos.net>
Date: Mon, 19 Oct 2015 08:54:34 +0000

If you are a developer and you need to import more than just a handful of versions you may want to automate this.
I needed something similar to this for a CVS import some years ago. Essentially I wrote a program which worked through the algorithm Hartmut describes.

Richard Kerry
BNCS Engineer, SI SOL Telco & Media Vertical Practice

T: +44 (0)20 3618 2669
M: +44 (0)7812 325518
Lync: +44 (0) 20 3618 0778
Room G300, Stadium House, Wood Lane, London, W12 7TA
richard.kerry_at_atos.net

-----Original Message-----
From: Niemann, Hartmut [mailto:hartmut.niemann_at_siemens.com]
Sent: Monday, October 19, 2015 8:52 AM
To: users_at_tortoisesvn.tigris.org
Subject: AW: how to integrate a zip based archive into svn

Hallo Eckard!

There is no automatic functionality in SVN that I am aware of.

I would
* set up a fresh repository
* make a working copy (which is empty)
* create a trunk folder
* add and commit it
* extract the oldest ZIP into it (*)
* carefully add the relevant files
* maybe set some svn:ignore for object files and other things that
  need not be archived
* commit - at least with the name of the original file name as a commit comment - the more information the better
* extract the next ZIP into it (*), check what is modified, add new files, commit and repeat
* if the tree structure changed during the project,
  use SVN move to match the trees

(*) if the project is very large, it might be best to use something like the synchronize-trees function of total commander, i.e.
unzip the file outside the working copy then use total commander to synchronize the tree into the working copy because it is easier to see what has changed, what is overwritten, what has been removed.

Mit freundlichen Grüßen
Dr. Hartmut Niemann

Siemens AG
MO MLT LM EN CCI 1
Werner-von-Siemens-Str. 67
91052 Erlangen, Deutschland
Tel.: +49 9131 7-34264
mailto:hartmut.niemann_at_siemens.com

-----Ursprüngliche Nachricht-----

Now I wonder if there is a way supported by SVN to transfer every zip file as one revision into a new fresh SVN archive. It is clear to me that this will not contain the automatic creation of comments. But having a archive that contains the historical files and that allows me to step back to earlier revisions would be helpful.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Atos, Atos Consulting, Worldline and Canopy The Open Cloud Company are trading names used by the Atos group. The following trading entities are registered in England and Wales: Atos IT Services UK Limited (registered number 01245534), Atos Consulting Limited (registered number 04312380), Atos Worldline UK Limited (registered number 08514184) and Canopy The Open Cloud Company Limited (registration number 08011902). The registered office for each is at 4 Triton Square, Regent’s Place, London, NW1 3HG.The VAT No. for each is: GB232327983.

This e-mail and the documents attached are confidential and intended solely for the addressee, and may contain confidential or privileged information. If you receive this e-mail in error, you are not authorised to copy, disclose, use or retain it. Please notify the sender immediately and delete this email from your systems. As emails may be intercepted, amended or lost, they are not secure. Atos therefore can accept no liability for any errors or their content. Although Atos endeavours to maintain a virus-free network, we do not warrant that this transmission is virus-free and can accept no liability for any damages resulting from any virus transmitted. The risks are deemed to be accepted by everyone who communicates with Atos by email.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2015-10-19 10:54:48 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.