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

Use of Subversion to track existing directory

From: Robert Paulsen <robert_at_paulsenonline.net>
Date: 2006-03-19 16:03:50 CET

I have an existing directory structure that I wish to track with subversion. I
would like to use the trunk/tags/branches concept. What is the best way of
going about this? The documentation examples all start with an import where
the trunk, tags, and branches directories already exist in the original. This
is not how my data is laid out.

I can create the repository:

        svnadmin create /srv/svn/repos/myfiles/

Now how do I create the trunk, tags and branches direstories in svn? I can't
use svnadmin because that will create independent repositories.

In the long run, I would like to be able to get a working copy of my files
with something like the following on another system:

        svn co https://mysystem/repos/myfiles/trunk myfiles

I know I could create a directory structure with trunk, tags, branches and
import from there but that seems round-about. Is there a way to work with the
existing data using add, copy, checkout, etc, commands?

Bob

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Mar 19 16:04:39 2006

This is an archived mail posted to the Subversion Users mailing list.