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

RE: Subversion First-class Labels

From: Joe Bell <joe.bell_at_prodeasystems.com>
Date: Mon, 20 Oct 2008 15:53:35 -0500

I agree with Steve here- I'm familiar with cheap copies and arranging my
repository into tags, branches, trunk, etc. but I really am looking
for more than just a "convention" (labels/tags are cheap copies) and
something more concrete.

One example I can think of is branching from a label and rebasing from a
label.
I'd like to label the trunk as say BUILD1, branch a feature branch off
of
that label specifically (svn copy -rBUILD1 http://blah/svn/trunk
http://blah/svn/branches/feature)
and then rebase periodically

In the feature branch, svn merge -rBUILD2 .

or something like that (I realize my label could be on something other
than the trunk
but hopefully I could put a trigger in place to stop that).

Admittedly I am more familiar the Clearcase label concept which I value
highly.

---
With all due respect, cheap copies don't really provide the  
functionality of labels with the simplicity and speed that CVS,  
Clearcase, or Perforce can do.  This particular use-case isn't well  
supported in Subversion as of today.  One of the reasons for this  
being that it is a major pain to figure out the following:
1. Which "labels" include this particular version of a file?
2. What are the revisions included in a particular "label"?
Yes, you can datamine this information using svn log, but it requires  
some work (especially #1).
-steve
-----Original Message-----
From: Steven Bakke [mailto:steven.bakke_at_amd.com] 
Sent: Monday, October 20, 2008 1:40 PM
To: Erik Huelsmann
Cc: Joe Bell; users_at_subversion.tigris.org
Subject: Re: Subversion First-class Labels
On Oct 20, 2008, at 2:04 PM, Erik Huelsmann wrote:
> On Mon, Oct 20, 2008 at 7:50 PM, Joe Bell  
> <joe.bell_at_prodeasystems.com> wrote:
>> I was browsing the web looking for an answer to the question as to  
>> whether
>> first-class labels were going to be a planned addition to  
>> Subversion, but
>> the best I could come up with was a lengthy discussion on SVN DEV  
>> back in
>> 2005.  I'm curious as to whether anyone knows where this proposal  
>> is or is
>> headed?
>
> I don't think there's been a serious follow-up.
>
>>
>> By first-class labels I mean labels analogous to Clearcase, you  
>> create a
>> label and then apply it to multiple elements (files, directories),  
>> etc. to
>> provide a mnemonic name for a given configuration of files.
>
> Subversion can do this with tags: a tag can consist of any combination
> of files in the repository and locally modified files.
>
With all due respect, cheap copies don't really provide the  
functionality of labels with the simplicity and speed that CVS,  
Clearcase, or Perforce can do.  This particular use-case isn't well  
supported in Subversion as of today.  One of the reasons for this  
being that it is a major pain to figure out the following:
1. Which "labels" include this particular version of a file?
2. What are the revisions included in a particular "label"?
Yes, you can datamine this information using svn log, but it requires  
some work (especially #1).
-steve
> HTH,
>
>
> Erik.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>
>
This message is confidential to Prodea Systems, Inc unless otherwise indicated 
or apparent from its nature. This message is directed to the intended recipient 
only, who may be readily determined by the sender of this message and its 
contents. If the reader of this message is not the intended recipient, or an 
employee or agent responsible for delivering this message to the intended 
recipient:(a)any dissemination or copying of this message is strictly 
prohibited; and(b)immediately notify the sender by return message and destroy 
any copies of this message in any form(electronic, paper or otherwise) that you 
have.The delivery of this message and its information is neither intended to be 
nor constitutes a disclosure or waiver of any trade secrets, intellectual 
property, attorney work product, or attorney-client communications. The 
authority of the individual sending this message to legally bind Prodea Systems  
is neither apparent nor implied,and must be independently verified.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-10-20 22:54:05 CEST

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.