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

RE: Migrating to SVN from zipfile-based archival. Advice?

From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Thu, 10 Jun 2010 17:50:14 -0400

> I've been using zipfiles to make snapshots of my development
> directories. Recently, I've decided maybe a solution that's a little
> more robust might be in order, so I'm looking to migrate to SVN.
>
> I'd like a bit of advice on how to go about doing that. Perhaps even
> just a sanity check.
>
> Using the standard layout, I figured the current source would get
> imported under trunk/ and each snapshot should be unzipped and imported
> as a tag (eg: tags/release_x).
>
> If I understood correctly, unlike, say, RCS, since SVN doesn't version
> individual files, I guess it doesn't matter so much what order things
> get imported in. Right?
>
> If I follow this course of action, would I end up being penalized in
> terms of disk usage or performance over some other, preferred method?
>
> Is the SVN server smart enough to realize that, even if I follow this
> course of action, that
>
> /trunk/foo/bar.c
> /tags/release1/foo/bar.c
> /tags/release2/foo/bar.c
>
> are all the same file with minor (if any) differences?

If you do this you are going to get several copies.

What I would do is create a trunk and import the oldest ZIP that you have. Then get a check out of trunk and copy your next version over it. Do and "add" and "commit" then tag it. Continue.

Actually, there is a utility that is designed to import ZIPs that are different versions. Although now that everything is at apache.org I don't know where to find all the little utilties that used to be on tigris.org... and they don't seem to be at tigris.org either.

BOb
Received on 2010-06-10 23:50:57 CEST

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

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