[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: Gavin Lambert <colnet_at_mirality.co.nz>
Date: Mon, 19 Oct 2015 20:48:43 -0700 (PDT)

On 18/10/2015 20:55, Eckard Klotz wrote:
> 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.

The general process would be:

1. Create a repository (either locally or on some hosting site).
2. Checkout that repository to an empty working folder.
3. Unzip your oldest source into that folder, and configure ignores and other SVN properties appropriately.
4. Commit.
5. Unzip the next version into a *different* folder nearby.
6. Right-click drag the second folder onto the first, and choose the "SVN Vendor branch here" option.
7. Commit.
8. Repeat steps 5-8 for the next zip.

Using the vendor branch option should automatically figure out files to add/remove. It won't automatically detect renames/moves though, so you may want to fix these up manually if you care about following history past the rename/move.

(I think you can fix these up in the commit window, if you select an Added and a Deleted file together and right-click.)

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

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