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

Re: Adding to a repository without initial import dangerous?

From: Nico Kadel-Garcia <nkadel_at_comcast.net>
Date: 2006-04-28 13:42:31 CEST

Nick Thompson wrote:
> On Thursday 27 April 2006 14:06, Marko Kaening wrote:
>> Hi,
>>
>> I created a repository, did a checkout which resulted in an empty
>> directory. There I created the classical dir structure "branches,
>> tags, trunk" and committed these. Afterwards I checked out the
>> trunk and would work on this from now on.
>>
>> I didn't use "svn import" during this procedure. Is this dangerous
>> or just another way to reach the same result?
>
> That's a perfectly reasonable way to get the same result. I have a
> ready made dir structure that I have "import"ed to many new repos.
> import doesn't change the dirs contents, so I can reuse it many
> times. But your approach is safe.

I've come to really prefer doing an "add" to an "import". It's too easy to
accidentally import to the wrong location, especially if you're importing
something called "project-1235" into an already existing "trunk" directory
and winding up with "trunk/project-1235". It's embarassing....

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 28 13:43:33 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.