[cvsnt] Re: Anyone knows where to get a ViewCvs (for windows) patch?

John Goehringer john.goehringer at agilisys.net
Sat Feb 8 15:55:57 GMT 2003


Here are the edits we do to viewcvs.py

1) add -q to cvsgraph execution. This removes the warnings. Look for
the following, and add "-q", to the argument list as indicated

  # Create an image map
  fp = popen.popen(os.path.join(cfg.options.cvsgraph_path, 'cvsgraph'),
                   ("-i",
                    "-q",
                    "-c", cfg.options.cvsgraph_conf,
                    "-r", request.cvsroot,
                    "-6", request.amp_query,
                    "-7", request.qmark_query,
                    request.where + ',v'), 'rt')

2) in the routine def parse_log_header(fp):
  """Parse and RCS/CVS log header.

find

        # rlog: filename/goes/here,v: error message
        idx = string.find(line, ':', 6)

and change the 6 to an 8

        # rlog: filename/goes/here,v: error message
        idx = string.find(line, ':', 8)

This skips the colon in the drive spec when searching for
: warning: Unknown phrases like and lets the script ignore
those messages.

We have done nothing for the rcsdiff problem.

Thanks,
John Goehringer




More information about the cvsnt mailing list