You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Kota, Sreenivasa ShravanaKumar" <sh...@hp.com> on 2008/02/04 05:01:05 UTC

Query based on labels

I am new SVN. Earlier, I worked on ClearCase. I have a series of questions related to SVN.

1. What is equivalent of ClearCase labels in SVN ?
2. How to create and apply labels to files in SVN ?
3. Is it possible to query files based on certain labels ? If so, How ? Something similar to cleartool find ?
4. Is there any limitation on maximum number of branches and tags can be created in subversion?
5. What is the equivalent of rmname ( ClearCase ) in SVN ?

I appreciate your help.

Thanks & Regards,
Shravana Kumar


Re: Query based on labels

Posted by Mark Reibert <sv...@reibert.com>.
Answers to specific questions below, but as a general recommendation you
probably want to spend some time reading:

http://svnbook.red-bean.com

On Mon, 2008-02-04 at 05:01 +0000, Kota, Sreenivasa ShravanaKumar wrote:
>  
> I am new SVN. Earlier, I worked on ClearCase. I have a series of
> questions related to SVN.
>  
> 1. What is equivalent of ClearCase labels in SVN ?

No direct equivalent, however the concept is covered in SVN using
"tags". See:

http://svnbook.red-bean.com/en/1.4/svn-book.html#svn.branchmerge.tags

> 2. How to create and apply labels to files in SVN ?

See link above.

> 3. Is it possible to query files based on certain labels ? If so,
> How ? Something similar to cleartool find ?

There is no equivalent to "ct find" supported within SVN proper. But
that really doesn't make sense given there are no "labels" (in the
ClearCase sense). You would just end up issuing something like "svn ls"
on your tags directory.

> 4. Is there any limitation on maximum number of branches and tags can
> be created in subversion?

I do not believe so.

> 5. What is the equivalent of rmname ( ClearCase ) in SVN ?

svn rm ...
 
- 
----------------------
Mark S. Reibert, Ph.D.
svn@reibert.com
----------------------


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