Hi,

Thank you very much for your answer, however, the result of this "rdiff"
line is a list of files with their (numeric) revisions, while I'm interested
in the latest tag (which is common to all files), not in the revisions of
all files.

For example, say I do the following:
        cvs get module1
        cd module1
        [edit some files of module1]
        cvs commit
        cvs tag ThisIsMyCommitTag
        cd ..
        cvs release module1

Now I would like to get the latest tag ("ThisIsMyCommitTag") of module1,
without checking it out again. I want only the tag, I don't want to store
the revision of each file of module1. I have a product which is composed of
many such modules, each module is tagged after each commit, and I would like
to have a list of modules and their latest tags in some file that belongs to
the product (and this determines the version of the product - each change in
this list will make a different version of the product).

Another reply that I received said that this (i.e., getting latest tags
without checking-out first) cannot be done with the current version of CVS.

Thanks a lot again,
Shlomo

-----Original Message-----
From: Pavel Roskin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 06, 2000 8:21 PM
To: Reinstein, Shlomo
Cc: '[EMAIL PROTECTED]'
Subject: Re: Watching history without a working directory


Hello, Shlomo!

> Is it possible to watch the history of a CVS project (like "cvs log")
> without having a working directory of the project? I couldn't figure it
out

"cvs log" and "cvs history" is not the same. "cvs history" works without
the working directory, as it is repository-wide.

"cvs log" works on separate files. You need to have a "home" in the CVS
sense to address specific files.

> To be more precise, I need to write a script which extracts (i.e., finds)
> the latest tags of a large list of CVS projects. I do not want to
check-out
> all these projects just for the purpose of extracting the tags, since this
> would take a very long time, and is logically not needed. So, how can I do
> that?

This is a feature that should eventually be added "cvs export".
For now, use "cvs rdiff" against revision 0.

cvs -d your_cvs_root rdiff -r0 -s .

Regards,
Pavel Roskin


Reply via email to