info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting the version number in a "notify" message


From: Aldo Longhi
Subject: Re: Getting the version number in a "notify" message
Date: Wed, 25 Oct 2000 19:44:23 EDT

So who knows how can I find the version number that
was MOST RECENTLY checked in (regardless of branch)
for a particular file by a particular user?  Here's
the "cvs history" command that I have so far:

"cvs history -c -a -l -f <path_and_filename_in_repo>"

The problem I encountered when testing this is that
I got more than one line of output from the above
command!!

$ cvs history -c -a -l -f tools/cvsweb/cvsweb
M 08/25 14:24 +0000 alonghi 1.20 cvsweb         tools/cvsweb == <remote>
M 01/19 22:20 +0000 alonghi 1.3  cvsweb2html.pl tools/cvsweb == <remote>

It would appear that CVS is doing some sort of "grep" on the
history file and listing all files in this directory that
START with the filename I gave.  I could try to filter through
the (potentially) multiple files that this command gives
me, but I'd rather do it "the right way" (if there is one!).

(I'm using CVS 1.10 on an HP-UX 10.20 server with pserver
access from various client platforms.)

Thanks.


Laird Nelson wrote:
Actually, the new revision number is only passed to loginfo.  Everything
else (commitinfo, verifymsg) suffers from the same problem you're
having.

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at http://profiles.msn.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]