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

Re: Working Copy at multiple levels

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-03-18 20:56:25 CET

On Mar 18, 2006, at 20:33, Kit Marshall wrote:

> I am using Subversion to track changes to websites that I am working
> on. The sites are all on the Apache web server and in the svn
> repository
> as well and I don't always keep the entire sites locally on my pc.
> What
> I'm attempting to do is check out something like
> repos/siteroot/public_html/clients/portfolio and work on that
> directory
> but then be able to check out repos/siteroot/public_html/aboutus and
> work on that folder and possibly repos/siteroot/includes as well (for
> example). But this causes there to be a working copy at each level I
> checked out which in turn causes problems adding new files or
> updating/committing code changes.

It should work fine. What's the problem? That is, what doesn't work?

Any part of the repository can be checked out and checked into. You
can make as many working copies of whatever parts of the repository
as you want.

svn checkout \
http://example.com/repos/siteroot/public_html/clients/portfolio

svn checkout \
http://example.com/repos/siteroot/public_html/aboutus

svn checkout \
http://example.com/repos/siteroot/includes

Now you have three separate working copies in the current directory
on your computer, called portfolio, aboutus and includes, which can
be edited and committed at will.

You cannot, however, make a change to two or more of these
directories and expect to be able to commit the changes as a single
revision, unless you have checked out the entire common parent
directory.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Mar 18 20:57:05 2006

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.