> As our development department expands we are evaluating
> Subversion to be
> our SCM package. It is up and running just fine, but I am struggling
> with how to make it do the things we want it to do. So I have some
> questions.
>
> I am used to using labels(floating and fixed) for a software
> release and
> haven't been able to figure out how Subversion implements it. For
> example: If we were starting to work on release 1.2 of a product we
> would set a floating label "Release 1.2" on the latest revision of all
> of the source files. All checkouts and builds from then on would use
> this label to get the correct source file revisions. This label would
> keep moving up with each change until we made it a fixed label when we
> shipped the new release. How would we implement this with
> Subversion? I
> am assuming it would somehow use tags.
"floating labels" are implemented as a "convenience" to the user in such
packages as PVCS - and to avoid "clutter" in the log display of a file.
From a workflow or "development practice" perspective it is the
implementation of a "move tag/label" command. Subversion does not have a
move command that operates at the tag level (please correct me if I am wrong
- but I haven't found one :-)), so you must implement the same behaviour
using a two step process (every time you want the label to "float" to the
desired place that is):
1. delete the old tag (label) from the repository
2. name the desired revision (usually "tip") with the name of the tag just
deleted.
Refer to the "svn delete" and "svn copy" commands for more information.
A minor inconvenience when using svn - presumably the developers will
implement it one day :-)
Peter
Warning: Copyright ResMed. Where the contents of this email and/or attachment includes materials prepared by ResMed, the use of those
materials is subject exclusively to the conditions of engagement between ResMed and the intended recipient.
This communication is confidential and may contain legally privileged information.
By the use of email over the Internet or other communication systems, ResMed is not waiving either confidentiality of, or legal
privilege in,the content of the email and of any attachments.
If the recipient of this message is not the intended addressee, please call ResMed immediately on +61 2 9886 5000 Sydney, Australia.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 11 04:10:33 2004