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

[Feature Suggestion]checkout branches and tags directory

From: Lynch <lynch_at_vmails.net>
Date: 2004-07-07 07:39:55 CEST

Hello, all,

I'm a new user to Subversion and I'm new to this ml. I don't know if
this feature has already been proposed or discussed. But I did some
search on ml and found nothing about it.

We know that in Subversion, branches and tags are simply copies of a
particular revision of a directory. In standard subversion repository
layout, branches & tags directory always contains a lot of these
branches and tags. Although these branches and tags are handled in a
highly space-efficient manner in the Subversion repository, but when
user checkout and export on the "branches" and "tags" directory, it will
consume large amount of traffic from server to client, and also large
amount of disk space.

But in fact, almost no one would like to checkout or export the whole
content of 'branches' and 'tags' directory at any time. One would check
out file:///repos/tags/snapshot-20040707 or file:///repos/branches/rc-2,
but never file:///repos/tags or file:///repos/branches. (I'm new and in-
experienced, please correct me on this.)

My Suggestion:

  1. Introduce a special property on directory, say

  2. modify svn client, when user use 'svn co url' to checkout/export
     a directory and it's subdirectory recursively, svn will check each
     directory on 'svn:non-recursive' property before checkout.

     if the directory is set the 'svn:non-recursvie'
     property, svn will not checkout/export the files and subdirectory
     under this directory as if '--non-recursive' parameter of
     'svn checkout' is set

  3. add 'svn:non-recursive' property to 'branches' and 'tags' directory
     in svn repository to prevent user from checking out these directory

  4. This feature have no influence on checkout/export the subdirectory
     under the 'branches' and 'tags' directory.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 7 07:40:25 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.