James Vega wrote: > tag 575864 wontfix > thanks > > On Tue, Mar 30, 2010 at 08:58:57AM +1100, Erik de Castro Lopo wrote: > > I believe uscan should return an error code of zero in the following case: > > > > $ uscan --report-status --watchfile debian/watch > > Processing watchfile line for package haskell-unixutils... > > Newest version on remote site is 1.22, local version is 1.22 > > => Package is up to date > > $ echo $? > > 1 > > Since uscan's purpose, as documented in uscan(1), is to look for newer > versions of upstream source, we return 0 when there's been a newer > version found. Applying this patch would break that behavior. As such, > I'm closing this bug.
What about a --exit-zero-if-no-new-upstream command line option? This would not break existing behaviour and in scripts this would make the intent far more obvious. Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/ -- To unsubscribe, send mail to [email protected].
