[Top][All Lists]

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

Re: Annotate of Log output wrong

From: Todd Denniston
Subject: Re: Annotate of Log output wrong
Date: Wed, 08 Dec 2004 08:43:52 -0500

Hugh Gibson wrote:
> > It is only the comments that you can get back better using `cvs log` or
> > cvs2cl.
> Thanks for the tip. I downloaded cvs2cl but have some problems with it -
> even with the latest Perl (running under Windows 2000) the second line had
> problems. I commented it out; now I get output like:
> ....
> server: Logging system/web
> server: Logging system/web/cgi-bin
> server: Logging system/webserver
> server: Logging system/webserver/Widgets
> but then it just hangs. No activity. I ran it with a blank command line,
> then tried --stdout but nothing happens. Any ideas? I speak Python/C++ but
> not Perl, so don't know the best way to go about debugging it.
After some investigation, I think I know what caused the problem.

The first 2 lines are a /bin/sh script to find the perl interpreter on a
unix system and execute the script with the interpreter found.

I think that you will need to delete the first two lines for it to work on
an MS system.
After deleting them I think that the ms system will queue off of the .pl
extension and send the script to the perl interpreter and it should just

if it does not then try 
1) change the now first line to have the path of your perl interpreter (try
it with out changing this line first... MS may find it automatically in the
path variable)
2) execute the script by `perl cvs2cl` with options.
3a) (last resort 1) might try changing the line in the script 
"my @log_source_command = qw( cvs log );"
"my @log_source_command = qw( cvslogexit );"
where cvslogexit is a shell script that will call cvs log with the options
passed in and will issue an exit 0 when it is done.  This would indicate (I
think) that the cvs client you are using does not exit as expected when
3b) (last resort 2) install cygwin and run it there. 
If we have to go to either 3a or 3b something is truly broken.

Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane) 
Harnessing the Power of Technology for the Warfighter

reply via email to

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