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

Re: Creating a working copy by copying .svn directories

From: Vincent Starre <vstarre_at_comcast.net>
Date: 2006-01-17 20:31:53 CET

Paul Koning wrote:

> Glen> Hello, If one has 2 directory trees, identical except for the
> Glen> fact that one of them is a subversion working copy, can the one
> Glen> that is NOT a working copy be made into a working copy by
> Glen> copying the .svn directories from the one that is?
>
>Yes, IF your directories are indeed truly identical. If they are not,
>then bad things may happen.
>
>The safer solution is to create working directories the normal way,
>via svn checkout.
>
> paul
>
>
>
"identical"? Hardly. Technically the .svn directories are the /only/
things required of the working copies. Any missing files can be restored
from the text-base using the "revert" command, any differing files will
be detected in the normal way. There really is no downside that I can
think of. Copying the .svn directories should be perfectly, 100% safe.
I'd love to know your reasoning for thinking there would be any problem,
though.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jan 17 23:08:26 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.