Mark E. Hamilton <>


r871394 | kfogel | 2008-05-20 16:11:26 -0500 (Tue, 20 May 2008)

Fix issue #3076 whereby 'svn info' would return success (zero) even if it
printed warnings about some of the targets.  Now if any target
encounters an error, return non-zero after handling all targets.

* subversion/svn/info-cmd.c
  (svn_cl__info): If any targets errored, return the last error at
    the end, so svn will exit with a non-zero exit code.  Add a test for 
    SVN_ERR_ENTRY_NOT_FOUND, which is the actual code returned for a
    non-existent or existent-but-unversioned file (as indicated by
    manual testing, and thank goodness for tools/dev/
    Finally, rework the conditional structure a bit, making this
    change appear larger than it really is. 

Suggested by: Mark E. Hamilton <>

See this message and the thread around it:
   From: "Mark E. Hamilton" <>
   Subject: Re: svn info not setting exit status.
   Message-ID: <>
   Date: Tue, 20 May 2008 13:22:34 -0600