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

RE: Re: RE: Installing SVN Server - minimum requirement

From: Joe Bell <joe.bell_at_prodeasystems.com>
Date: Sun, 16 Nov 2008 13:15:39 -0600

I know I and others have commented on this before, but to me the
revision number isn't an issue, it's that tags are "just copies" and not
first-order elements of the repository like a ClearCase label. To many
this is a deficiency of Subversion and there have been a number of
usecases and arguments spelled out in the past:

http://svn.haxx.se/dev/archive-2005-05/1095.shtml
http://svn.haxx.se/users/archive-2008-10/0609.shtml

In particular I'd like the ability to branch from and rebase to a label
- for example, I create a branch of the trunk at label REV1 and then at
any time I can rebase my branch to labels created on the trunk.

svn mklabel REV1
svn label TRUNK REV1
svn copy TRUNK_at_REV1 BRANCH
svn co BRANCH
... work goes on...
svn mklabel REV2
svn label TRUNK REV2

In branch
svn merge -rREV2 TRUNK (# Rebases my branch to what the trunk looked
like at REV2)

Joe

-----Original Message-----
> Subversion also doesn't have real tags. Instead, you treat a branch as
a tag
> which means you have to make sure people don't accidently check in
newer
> revisions into your tag, or else you're in trouble. It is also
difficult to
> see exactly what was tagged. For example, if I do a "svn cp" of
revision
> 2345 to a tag, the tagged revision becomes revision 5694. Because of
this,
> tagging is messier than it should be.

Only if you get hung up on special meaning for revision numbers.

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-11-16 20:16:07 CET

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.