[pca] enhancement request

Martin Paul martin at par.univie.ac.at
Fri Feb 11 10:54:00 CET 2011


Hi Jan,

> since all stuff went to MOS I started to use pca --readme a lot more.

I understand that - I try to avoid using interactive MOS as far as possible as 
well :)

> My "problem" is that if you do something like  --readme 144574
> (Patch without revision) it will get all other readme files form the
> needed patches to get to 144574 ( Default behavior like -l and -d).
> For the readme I don't think it should grep all the other readme files.
> It should just get the latest revision readme.

I agree, this might be unexpected, and I actually don't remember whether I chose 
this behaviour to conform with -l and -d, or whether it was a user request. ISTR 
that somebody asked for a simple way to grep through the READMEs of one patch 
and all its required patches.

> Or did I use the --readme wrong? :)

Not wrong, you just didn't notice that you can use "pca --nodep --readme ..." to 
get the behaviour you want. With all those options in PCA that's understandable, 
though :)

Maybe it would be more obvious to make --readme behave like you want it, but as 
there is no counterpart to --nodep to force dependency checking, it's easier to 
stick to the current behaviour. You can use a shell alias or script if you don't 
want to type the extra option everytime.

hth,
Martin.



More information about the pca mailing list