Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-2414

Exit code for 'svn info' should be 1 for an invalid URL

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.x
    • Fix Version/s: 1.6.0
    • Component/s: cmdline client
    • Labels:
      None

      Description

      On the command line, "svn info <URL>" should have a non-zero rcode if the URL is
      not valid.  In addition, error messages should be placed on stderr.
      
        $ svn info http://svn.collab.net/repos/svn/bad_url 2>/dev/null
        http://svn.collab.net/repos/svn/bad_url:  (Not a valid URL)
        $ echo $?
        0
      

      http://subversion.tigris.org/servlets/ReadMsg?list=dev&msgNo=106532

      Original issue reported by jbelmonte

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              subversion-importer Subversion Importer
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: