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

Re: "svn branch" and "svn label"

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-10-15 15:55:35 CEST

Noel Yap <yap_noel@yahoo.com> writes:

> My thoughts evolved into making these svn client
> commands but instead of having "branch" perform stuff
> others probably don't want, both "branch" and "label"
> would set a property, say "svn:type" (if it's already
> taken, we can use another tag), that would signify its
> type.

Looks like a non-starter. Consider

$ svn copy http://some.host/repo/trunk http://some.host/repo/branches/xxx

this is fast, it's an O(1) operation. If you want to set a propery on
every file and directory you make it much slower, it becomes an O(N)
operation. If you only set the property on a single directory,
branches/xxx, what do you do when someone access a directory below
that?

Subversion has been designed not to distinguish between "tags" and
"branches", it's a feature. Fast copies, like the one above, are
another designed feature. You have a lot of work to do if you want to
change this.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 15 15:56:20 2002

This is an archived mail posted to the Subversion Dev mailing list.

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