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

Re: Importing multiple revisions

From: M <marcus.rohrmoser_at_gmx.de>
Date: 2004-04-16 14:14:49 CEST

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Why not just create an empty wc folder, copy all files & folders from
the first revision to import there, svn add all them, commit, svn rm
all, commit again and start over with the second revision?

It's brute force, but keeps the history, right?

I'd do this in a separate svn repository, just to have the "ancient"
history available with svn and not to clutter up the "new" svn
repository with old, undiffed versions.
The new svn repo I'd start with the most current VSS files & folders only.

Grettings,
        M

Martin Tomes schrieb:

| Ray Johnson wrote:
|
|> I'm currently working on how we can import our large VSS repository into
|> Subversion.
|>
|> I now want to "import" the next release. When finished the second
|> release should be what is in my "trunk". I realize this doesn't provide
|> a "true" history. In in VSS we renamed a file it would show up in SVN
|> as a completely new file and the old file being deleted. That is fine
|> with us as people can always go back to VSS to find out what really
|> happened (which will only happen rarely and only for a few months).
|
|
| I have just done exactly what you wish to do only starting from CVS. I
| did a cvs export of the first version and imported that. I then did a
| cvs export of the next version I wanted and overlaid those files onto
| the subversion working copy. I was doing this on Windows and I actually
| did a cvs export into a new directory and then used two piped Cygwin tar
| commands to copy those files over the svn working copy. You can then to
| an svn status to find new files and add them. Working out deleted files
| is a little harder but you need to do that and remove those and then to
| another commit. Repeat until done.
|

- --
/**********************************************************

~ Thanx, the "GR_FRameRAM8" is much more elegant than a
~ mere "19", naturally.

~ mailto:marcus.rohrmoser@gmx.de
~ http://marcusr.gmxhome.de/

Infos über email Verschlüsselung mit GnuPG/PGP bei
http://www.gnupp.de
**********************************************************/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAf8453wDNYFytWz8RAoI/AJ9Zz7AO12HNEkpiOoQ9bmrX9yW64wCfW8Vb
j6LFuQNWR1gVysVd8l+yyPc=
=7qRu
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 16 14:15:39 2004

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.