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

Re: 'Add' & 'Import'

From: Johan Appelgren <johan.appelgren_at_gmail.com>
Date: 2005-05-05 11:00:17 CEST

On 5/5/05, Hughes, Trystan <Trystan.Hughes@assetco.com> wrote:
>
> I all,
>
> I am relatively new to Subversion, and have been handed the task of rolling it out across the business I work in - so expect quite a few questions over the next couple of weeks :).
>
> Anyway, can someone please explain the exact differences between the 'Add' and 'Import' commands, please? At the moment, if I want to add a new folder/file to my repository, then I use the 'Add' command. Is this correct? If so, where does the 'Import' command come into it?
>

Add is used to add to your working copy and schedule them for addition
to the repository. Import is used to directly commit a unversioned
directory to a repository, ususally done when first importing a new
project into subversion.

This is explained much better in the subversion book:
http://svnbook.red-bean.com/en/1.1/svn-book.html#svn-ch-3-sect-2

http://svnbook.red-bean.com/en/1.1/svn-book.html#svn-ch-9-sect-1.2-re-add
http://svnbook.red-bean.com/en/1.1/svn-book.html#svn-ch-9-sect-1.2-re-import

/Johan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu May 5 11:02:04 2005

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.