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

Re: svn import vs svn commit

From: Dave Pawson <dave.pawson_at_gmail.com>
Date: 2007-08-31 09:12:57 CEST

On 31/08/2007, nikhil gupta <ng_g20@hotmail.com> wrote:

> What is the difference between an "svn import" and an "svn commit".
>
> I mean this in the context, where I have to add a large number of files to
> svn. I've 2 options.
>
> 1. I import the whole structure to svn (using svn import).
> 2. I add the structure to svn using svn add & then commit using svn commit.

With a new, empty repo you have to import the data, then checkout.
Thereafter you can add and commit.

Import is the 'first time only' operation.

HTH

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 31 09:10:13 2007

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.