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

RE: Checkout to same directory after import?

From: Rob van Oostrum <rob.vanoostrum_at_blastradius.com>
Date: 2006-10-03 23:26:50 CEST

It's in the docs somewhere actually. Instead of importing, you should
create a top-level directory in your repository, then check it out on
top of your local dir, and add/commit everything.


From the root of your project, run: 'svn co [url you created to add your
files to] -N .'


Everything now shows up as unversioned files/dirs. You can then 'svn
add' (in Cygwin or *nix: svn st | grep ^? | cut -c 8- | xargs svn add)
and 'svn commit'






From: Ron Olson [mailto:tachoknight@gmail.com]
Sent: Tuesday, October 03, 2006 5:21 PM
To: users@subversion.tigris.org
Subject: Checkout to same directory after import?


Hi all-

I presume this has been hashed over a bajillion times, but I couldn't
find anything really concrete via Google and wanted to get it straight
from the people "in the know".

I have added a directory containing some files to Subversion ( 1.4) so
that they are now under source control. Without deleting and recreating
the folder, I would like to now "get" them insofar as I don't really
want to get them again, I just want to have Subversion create the .svn
directory as if I did. I have made absolutely no changes so the files
should be identical.

This isn't laziness on my part as some of the files are *huge* and it
would take awhile to both delete and then recreate, especially since
this is going over a wireless connection.


Received on Tue Oct 3 23:27:53 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.