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

Re: add or import

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: 2006-09-15 20:50:36 CEST

On 9/15/2006 2:44 PM, Roman Cheplyaka wrote:
> Suppose current directory is working copy of $repos.
> After
> $ mkdir subdir
> is
> $ svn add subdir && svn commit
> roughly equivalent to
> $ svn import subdir $repos/subdir

I don't think import converts the directory into a working copy, so
you'd need to check it out after the second command. This requires some
fiddling when the files already exist.

So in general add and commit is preferred.

Duncan Murdoch

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 15 20:51:27 2006

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.