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

multiple "svn import" behavior

From: Guillaume Boissiere <boissier_at_media.mit.edu>
Date: 2002-01-11 05:26:17 CET

How can I import into Subversion an old project archive where each top
directory contains the full source code tree at the given revision number?
   archive/myproject-v1.0
   archive/myproject-v1.1
   archive/myproject-v1.2

I tried doing this:
   svncreate myproject
   svn import file:///myproject archive/myproject-v1.0 topdir
   svn import file:///myproject archive/myproject-v1.1 topdir
   svn import file:///myproject archive/myproject-v1.2 topdir

And I am expecting:
- if files or directories get removed between the directories v1.0 and v1.1,
they get removed as well in the Subversion repository on the second import
command
- at the end of the operation, checkout of the latest Subversion revision
should be exactly the same as myproject-v1.2

But I got the following error (on W2k - revision 742):
svn_error: #21059 : <File already exists in revision>
  file already exists: filesystem `/myproject/db', transaction `1', path
`topdir'

Is this the right way to accomplish this?
Thanks in advance,

-- Guillaume

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:56 2006

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

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