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

Re: Labels

From: Thomas Hemmer <themmer_at_go-engineering.de>
Date: 2006-03-28 14:13:56 CEST

James,

there is nothing like tags/labels or similar in subversion.

At the first glance this may be somewhat confusing to an svn newbie (just like
me some couple of months ago ;-)), but the svn developers provided us with a
mechanism called "lazy copies" that will do the job very elegantly.
Simply create svn folders representing each of your clients and "lazy copy" the
respective files into them. This is an exact equivalent to what other versioning
systems call "creating tags and labels".

Before getting acquainted with svn I had been a StarTeam user for a couple of
years, and it took me some time, too, to adopt this concept.
I take it as one of the major strengths of svn that it provides you with a
handful of simple but powerful concepts instead of being bloated with confusing
features that do not supply real functionality.

Regards,

Thomas

-----Ursprüngliche Nachricht-----
Von: James Courtier-Dutton [mailto:james.dutton@gmail.com]
Gesendet: Dienstag, 28. März 2006 13:39
An: users@subversion.tigris.org
Betreff: Labels

Hi,

I have a svn repository with a number of files in it.

I want to be able to label each file with a tag that indicates the purpose of
the file.

For example, I might have one set of files for one customer, and another set of
files for another customer, with some overlap between the files.

I would then want to be able to filter the view of the files in the repository
based on these labels. I would than want to tag the set based on the view.
So, later I could see which versions of which files were sent to customer A on
date xyz.

I can currently do tagging, but I cannot seem to apply any label and tag based
on the label. I can only currently do tagging to a file or an entire directory.

Also, if I tag a file for one customer, and that same file has to go to a second
customer, the tagging increases the revision number, so it looks like a
different file.
So, is there any way to tag a file in the repository with two different tags,
and not have the revision number different?

Can anyone help?

James

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 28 14:17:12 2006

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.