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

Re: Import and checkout problem

From: Gary Feldman <g1list_1a_at_marsdome.com>
Date: 2004-11-12 13:34:01 CET

Markus Heinisch wrote:
> Hi,
>
> I'm new to subversion and started with the quick start manual.
> I'm using subversion 1.1 an WindowsXP.
> My problem is:
> I tried to checkout into the folder after an initial import which still
> contains the files that were imported.

The quick answer is that you can't, and that's intentional.

There are several reasons for this. One is that Subversion tries very
hard to never accidentally delete information. Since it has no way of
knowing whether the directory after the initial import is unchanged from
the import, it will refuse to overwrite any of those files.

Also, by always doing checkouts to an empty directory, you're guaranteed
that you have a tree that exactly matches the repository. While this
often doesn't matter, it's nevertheless a good practice and habit.

Gary

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Nov 12 13:34:39 2004

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.