[pca] Query latest pca and patchdiag.xref file (errors?)
Martin Paul
martin at par.univie.ac.at
Wed Jun 16 17:30:39 CEST 2010
Glen,
>>>> If you can reproduce the problems, re-run pca with "--debug" and send me the output.
> Do not have the old patchdiag.xref file but can reproduce. Here's the console output for the first patch:
Thanks, and sorry that I didn't try it on my own at first - I can
reproduce the issue. It's caused by the (kind of unusual, but still
allowed) combination of command line options:
> /var/tmp/pca --pretend /var/tmp/patchlist.txt --patchdir="/var/tmp/pcatmp" --safe --readme --debug
The reason why pca shows "NOT FOUND" for all patches here is a special
short cut in pca's code: When it finds the --readme option and only full
patch ID+revision as arguments on the command line, it skips reading the
xref file for speed-up - which is a good thing.
But this causes troubles when an additional option like
--pretend/--install/--download/etc. is specified, as it then tries to
use information which it never has read.
I will take a closer look tomorrow and maybe integrate a fix to make it
go through the full reading of xref and analysis when any other
action-option but --readme is specified.
Astonishing - after all the years, I see pca used in new ways again and
again :-)
Martin.
More information about the pca
mailing list