You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Eric Gorr <ma...@ericgorr.net> on 2005/06/09 18:28:34 UTC

Getting started: importing, working copies, etc..

I needed to create a subversion working copy of a large set of files & 
subfolders. The method suggested in the FAQ to create this in-place 
(http://subversion.tigris.org/faq.html#in-place-import) and then use svn 
add was simply going to be cumbersome and annoying in this case.

The method I used was the following:

1. temporarily set global-ignores to ignore the files and directories I 
did not want to import

2. used svn import src to get everything I wanted into a repository

Because issue 1328 
(http://subversion.tigris.org/issues/show_bug.cgi?id=1328) has not yet 
been resolved, I then needed to take the additional steps

3. checked out everything from the repository into dest so I had a good 
working copy.

4. then used rsync -r -v --exclude ".svn/" src/ dest
to get everything I had ignored into the working copy

(note, if you happen to be on MacOSX and need to copy over files with 
resource forks, hfsrsync supports this and is available via darwinports 
(http://darwinports.org))


Any problems doing this that I may have missed?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org