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

RE: don't update branches in local copy

From: Andrew Gabriel <Andrew.Gabriel_at_clearswift.com>
Date: 2006-05-08 14:55:09 CEST

Russ Tedrake [mailto:russt@mit.edu] wrote:
> Hi,
>
> I've set up a large set of repositories using the recommended
> structure:
>
> robots/
> biped/
> trunk/
> branches/
> quadruped/
> trunk/
> branches/
> ...
> many more subdirs

Um, this looks like a single repository to me, although I can't be sure
where you mean the repository root is.

> Lots of people check out the entire repository from the root.
> But most people do not need a local copy of every branch of every
> project. Is there a clever way to have people download just the
> trunks and not the branches in their local copy of the repositories.
> Like checking out a repository without checking out all of it's
> subdirs?

Is that the recommended structure? That's not what I've done, for
precisely the reason you highlight. All my repositories have "trunk" and
"branches" as the top level dirs, so your example would look like:

robots
  trunk/
    biped/
    quadruped/
  branches/
    mybranch/
      biped/
      quadruped/

so you could checkout robots/trunk or robots/branches/mybranch, or
robots/branches/mybranch/quadruped, depending on what you want.

However, this only makes sense if biped and quadruped are sufficiently
intimately related that you want them versioned, branched, etc together.
If they are separate (built separately, and completely independent from
each other), then it would make more sense to use separate repositories
for them (at least, that's what I do in this case).

-- 
Andrew Gabriel
Clearswift monitors, controls and protects all its messaging traffic in compliance with its corporate email policy using Clearswift products.
Find out more about Clearswift, its solutions and services at http://www.clearswift.com
This communication is confidential and may contain privileged information intended solely for the named addressee(s). It may not be used or disclosed except for the purpose for which it has been sent. If you are not the intended recipient, you must not copy, distribute or take any action in reliance on it. Unless expressly stated, opinions in this message are those of the individual sender and not of Clearswift. If you have received this communication in error, please notify Clearswift by emailing support@clearswift.com quoting the sender and delete the message and any attached documents. Clearswift accepts no liability or responsibility for any onward transmission or use of emails and attachments having left the Clearswift domain.
This footnote confirms that this email message has been swept by MIMEsweeper for Content Security threats, including computer viruses.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon May 8 14:56:33 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.