Discussion:
Checking out subversion
(too old to reply)
Lorenzo Thurman
2006-12-05 22:24:15 UTC
Permalink
I hope this is a good place to ask this, if not apologies:

I want to checkout a revision, but I don't want the .svn directories to
be created. Is there a way to do this within subversion? The reason we
need to do this is that we want to checkout a "stable" branch and put it
directly into testing. I know the .svn directories should not cause a
problem, but we'd like to loose them all the same.
TIA
Dan Engel
2007-04-19 17:10:45 UTC
Permalink
Post by Lorenzo Thurman
I want to checkout a revision, but I don't want the .svn directories to
be created. Is there a way to do this within subversion? The reason we
need to do this is that we want to checkout a "stable" branch and put it
directly into testing. I know the .svn directories should not cause a
problem, but we'd like to loose them all the same.
Try the export command, rather than the checkout command. Export is
basically the same as checkout, except that it doesn't link your workspace
to the repository (which is what the .svn directories do).

Beware, however, that without the .svn files, the changes made to the
resulting workspace can't be checked back in from that same
workspace--you'd have to do another checkout and copy your modified files
over to the new one.

-Dan

Loading...