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

Re: Issue 493

From: <cmpilato_at_collab.net>
Date: 2001-10-05 17:23:01 CEST

<peter.westlake@arm.com> writes:

> This may be a silly question, but what is the difference between add
> and import?

At this time, import does not convert your source directory into a
Subversion working copy. That is, in order to turn a directory foo
and all its children into a versioned tree, you would currently do
either:

(1) - Create an empty repository
    - Check it out to say, 'wc'
    - Copy all of foo's children into 'wc'
    - `svn add --recursive wc/*'
    - `svn ci wc'
    - Remove the foo directory
    - Rename 'wc' to 'foo'

(2) - Create an empty repository
    - `svn import <repos_url> foo'
    - Remove the foo directory
    - Check out foo from the repository

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