[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Sat, 21 Feb 2004 00:16:59 -0800 (PST)
On Fri, 20 Feb 2004, Merina Francis wrote:
> Now suppose user X want see the different tags for my module. How user x
> can know that how many tags(Revisions) I have made for my module.I hope
> the problem is clear.Is there any cvs command for that if yes, how can I
> do that ?
You have to pick a representative file, and view the ``cvs log'' for
that file. Ideally, the representative file is one that has always
existed in the module since the beginning, and has not been removed
from any branch. Therefore it carries every tag that was ever made over
the entire module. By parsing the output of ``cvs log'' over that file,
you can obtain that list.
In the Meta-CVS version control system, we have such a representative
file in CVS, namely the file called ``MAP''; it is present from the
time the module is created, and is never deleted from any branch.
Having such well-known file makes it possible to do some neat things in
a reliable way.
Meta-CVS: the working replacement for CVS that has been stable for two
years. It versions the directory structure, symbolic links and execute
permissions. It figures out renaming on import. Plus it babysits the kids
and does light housekeeping! http://freshmeat.net/projects/mcvs
- Tagging, Merina Francis, 2004/02/21
- Re: Tagging,
Kaz Kylheku <=