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

Re: Add an existing directory tree to subversion?

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2004-06-23 18:52:23 CEST

Denis Haskin <Denis@HaskinFerguson.net> writes:

> Apologies if this is a FAQ, I couldn't find the answer anywhere.
>
> Is there a way to add an existing directory tree to a subversion
> repository and have that tree (in place) be a working copy?

Make a remote directory where you want to do your import:

   svn mkdir http://my.server/repos/myimport

Checkout that empty directory atop your tree:

   svn co http://my.server/repos/myimport /path/to/my/tree

Now run 'svn add *' in your tree directory. And then commit ('svn ci').

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 23 18:56:13 2004

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.