> -----Original Message-----
> From: sussman@collab.net [mailto:sussman@collab.net]
> Sent: Thursday, January 10, 2002 11:40 PM
> To: Guillaume Boissiere
> Cc: dev@subversion.tigris.org
> Subject: Re: multiple "svn import" behavior
>
>
> "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.
Uhmm, I think it would be a worthy feature to add to Subversion. It is not
really a merge, it is "replace whatever was in this directory of the
repository by what is in the local directory I am importing".
It seems to me like it would be a nice new behavior for import instead of
erroring out.
Comments?
> Try 'svn help import'. :-)
I did, but it it is pretty succint right now ;-)
import: Import a file or tree into the repository.
usage: import REPOS_URL [PATH] [NEW_ENTRY_IN_REPOS]
So to go back to my question, what is the simplest way to accomplish my
goals?
-- 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