[darcs-users] bug report for cvs_convert.pl

Mark Stosberg mark at summersault.com
Wed Oct 13 00:58:41 UTC 2004


Hello,

Here's what eventually happened when I followed the instructions for
cvs_convert.pl:

#######
bad usage: invalid argument -q

Usage: cvsps [-x] [-u] [-z <fuzz>] [-s <patchset>] [-a <author>]
             [-f <file>] [-d <date1> [-d <date2>]] [-b <branch>]
             [-v] [-h]

Where:
  -x ignore (and rebuild) CVS/cvsps.cache file
  -u update CVS/cvsps.cache file
  -z <fuzz> set the timestamp fuzz factor for identifying patch sets
  -s <patchset> generate a diff for a given patchset
  -a <author> restrict output to patchsets created by author
  -f <file> restrict output to patchsets involving file
  -d <date1> -d <date2> if just one date specified, show
     revisions newer than date1.  If two dates specified,
     show revisions between two dates.
  -b <branch> restrict output to patchsets affecting history of branch
  -v show verbose parsing messages
  -t show some brief memory usage statistics
  --norc when invoking cvs, ignore the .cvsrc file
  -h display this informative message

cvsps version 1.3.3

Conversion Complete
#######


This is bad, because I think the script bombed out because 'cvsps' got
an invalid argument, but yet the script reports "Conversion Complete"
when in fact the conversion doesn't seem to have really begun. 

So I double checked my version. It's 1.3.3 as you can see above. This is
the most recent stable version. 

So I double checked the documentation on the wiki. It just says "a
recent version". The "-q" option doesn't appear until 2.0b10. 
Because it's a development version I imagine many distributions
won't have packaged it for easy installation. (I got mine from the
FreeBSD ports tree). 

I also got this a bunch of times:

	Use of uninitialized value in string eq at /home/mark/bin/cvs_convert.pl line 159.

Seemed harmless.

Since Perl a language I'm strong in, I'll see about putting together
some little patches to improve things.

	Mark


-- 
http://mark.stosberg.com/ 





More information about the darcs-users mailing list