logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: CVS Bug: msg#00074

Subject: Re: CVS Bug

Hello Derek,

i thank you very much for your answer.

I see where you're coming from, but the way -n currently works, when CVS would have tried to create a directory, it stops before it knows whether it would have been empty or not.

Ok, i see that changing this report-behaviour needed deep going changes in the way cvs does an exec/noexec update.

The message comes out on stderr, so, as a workaround, you might be able to ignore it with 2>/dev/null. Alternatively, if there are other messages you want to see coming out on stderr, you could pipe stderr and stdout through a filter:

   $ cvs -qn up -dP 2>&1 |egrep -v '-- ignored$' |some_script

Yes, certainly. But i would need a solution between this two possibilities. I need the information for a new directory but i do not want the report for empty ones. Well, i think there is no solution for my problem, so that i cannot use "-P" at the moment.

Of course, Ximbiot <http://ximbiot.com> could update CVS to cache the directory tree properly so -n would do what you'd expect here on a contract basis.

I do not know Ximbiot, but i will check out this link now.

Thanks again,

Gert


<Prev in Thread] Current Thread [Next in Thread>