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

Re: Adding Folders to SVN

From: Ben Fritz <fritzophrenic_at_gmail.com>
Date: Sat, 3 May 2014 10:06:14 -0500

On Fri, May 2, 2014 at 7:26 PM, Jack Cane <jwcane_at_enwphotos.com> wrote:
> Hard drive on Machine A has a folder registered as an SVN repository. How
> can I register it on Machines B and C?
>

You don't. That's a bad idea. You should not share working copies
between machines. Get a new working copy on each machine with svn
checkout.

If you can ACCESS the working copy from machines B and C, that's fine.
But if you're doing actual SVN operations on each machine you are
likely to corrupt your working copy sometime.

> Another question: what is the procedure for adding a folder to SVN, when
> that folder resides outside the existing folder tree containing other,
> registered folders? Again, it will be necessary to add it on three
> machines.
>

The best way is probably to get an SVN checkout of the directory above
where you want your new directory to go in your repository. Then put
your folder in that working copy and SVN Add the folder and all the
content you want to be in the repository.

The other way is using the SVN import command, to create a new folder
somewhere in the repository and add all the content of the folder on
your machine. Then you will need to SVN checkout your folder from SVN
and delete the folder currently on your machine to have SVN track it.

To GET your new folder on machines B and C, just SVN checkout that folder.

If you want all your SVN folders to be linked together, you will need
to SVN checkout some parent folder containing all of them.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3077476

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2014-05-03 17:06:43 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.