On Friday, Dec 27, 2002, at 01:47 US/Eastern, Martin Costabel wrote:
Yes-- but the default for Fink is not to do that and I would bet that most of the users that use selfupdate-cvs have no CLUE about ~/.cvsrc. The default for Fink should be to spew only the information that is actually informative-- the current behavior does not do that.Bill Bumgarner wrote:This patch causes Fink to only output the files that have been added or updated since the last fink update; all of the lines beginning with '? ' are filtered out and all of the various "updating directory" messages from cvs are suppressed.You can easily suppress the "updating directory" messages by putting a line
cvs -q
into your ~/.cvsrc file.
As you'll note, I added -q to the cvs command in fink -- everything from the pipe on could be deleted.
I am not sure whether suppressing the lines beginning with '?' is a good idea. There shouldn't be any such line, after all. If there are, you should do something about them. So this is valuable information. The same goes for failure of cvs update because of some other error message like the famous "Conflict ..., move ... out of the way". Even if this is a somewhat cryptic error message, it asks for action. Your "true" at the end will suppress this error, too.Not true -- the default Fink installation will spew a '? ' line for every package in the OS X 10.1 tree on 10.2. At least, this has always been the case for me and I never touch anything in the Fink tree outside os the local/ tree and-- very occasionally-- using inject.pl to inject a custom Fink feature.
Agreed, though I doubt you'll end up with a rotten fink tree-- it'll just not synchronize correctly but the next sync will fix it. But, yes, this is not good...If you do this, you can end up with a rather rotten /sw/fink tree without knowing about it.> $cmd = "cvs -q -z3 update -d -P | grep -v -e \"^\\\? \" ; true";
Anyone know how to grab the exit code from the cvs command in the pipe and output it instead of 'true'?
b.bum
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel
