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

RE: Easiest/Quickest way to created a Repo from Dir and Make working copy?

From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Wed, 19 Nov 2008 13:52:09 -0500

What I usually do is create the folder in your repository. Then do a
checkout to your existing folder. It will warn you the folder exists...
just tell it OK.

 

Once you've done that you can do an ADD and a commit.

 

BOb

 

 

________________________________

From: Tom Malia [mailto:tommalia_at_ttdsinc.com]
Sent: Wednesday, November 19, 2008 1:22 PM
To: users_at_subversion.tigris.org
Cc: TimMalia_at_ttdsinc.com
Subject: Easiest/Quickest way to created a Repo from Dir and Make
working copy?

 

If I've got a directory structure full of files and subdirectories that
is not currently a working copy and for which there is no current
repository or directory within a repository, what is the most efficient
way to "import" the directory structure and turn it into a working copy?

 

I know I can import it, then delete the local copy and then check it
out. However if there are lots of large files then this seems
outrageously inefficient, since the checkout is going to nothing but
pull down exactly what's there already any way. If I try checking out
to the directory without purging it first, then Subversion complains
that files with the same names are already present and it wont check
out. Isn't there some way to perform a check out and tell Subversion to
not replace, but also not error out on files with the same name that
already exist?

 

Tom Malia

T&T Data Solutions L.L.C. <http://www.ttdsinc.com>

 

 
Received on 2008-11-19 19:53:12 CET

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.