[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: Nico Kadel-Garcia <nkadel_at_comcast.net>
Date: 2006-05-05 18:15:30 CEST

Ryan Schmidt wrote:
> On May 5, 2006, at 03:28, Russ Tedrake wrote:
>
>> 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?
>
> It is a user error to check out the entire repository root. Educate

But, of course, they will anyway. And it is in fact useful when doing
branching and tagging to simply have things available locally, without
having to do "switch" operations or additional checkouts: simply do the
branch or tag, then update the whole checked-out repository rather than
switching.

> users to check out either the trunk or the specific branch they
> desire. Conceivably you could even install access controls to prevent
> people from checking out a repository root and print a helpful error
> message, if preemptive user education proves difficult.

There are ways to manage this: user education is one, making sure that one
repository does not include extraneous projects, and making sure that old
tags and branches are deleted or transferred to an "archive" top-level
directory can also help quite a lot.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri May 5 18:17:17 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.