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

Re: multiple "svn import" behavior

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-01-11 05:39:47 CET

"Guillaume Boissiere" <boissier@media.mit.edu> writes:

> 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

  svn import file:///myproject archive/myproject-v1.0 myproject-v1.0
  svn import file:///myproject archive/myproject-v1.1 myproject-v1.1
  svn import file:///myproject archive/myproject-v1.2 myproject-v1.2

> 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

Imports don't perform any merges. It's just a fast way of adding files.

Try 'svn help import'. :-)

---------------------------------------------------------------------
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.