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

Getting started: importing, working copies, etc..

From: Eric Gorr <mailist_at_ericgorr.net>
Date: 2005-06-09 20:28:34 CEST

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

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
Received on Thu Jun 9 20:30:49 2005

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.