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

revert throws an error for unversioned targets

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: 1.7.0
    • Component/s: unknown
    • Labels:
      None

      Description

      svn revert fails if an unversioned node is mentioned in the targets list:
      
      $ svn st
      ?       foo
      M       alpha
      A       zzz
      $ svn revert *
      Reverted 'alpha'
      subversion/svn/revert-cmd.c:90: (apr_err=155010)
      subversion/libsvn_client/revert.c:195: (apr_err=155010)
      subversion/libsvn_client/revert.c:105: (apr_err=155010)
      subversion/libsvn_client/revert.c:105: (apr_err=155010)
      subversion/libsvn_subr/sqlite.c:174: (apr_err=155010)
      subversion/libsvn_wc/wc_db.c:5396: (apr_err=155010)
      subversion/libsvn_subr/sqlite.c:1114: (apr_err=155010)
      subversion/libsvn_subr/sqlite.c:1114: (apr_err=155010)
      subversion/libsvn_wc/wc_db.c:2503: (apr_err=155010)
      subversion/libsvn_wc/wc_db.c:2503: (apr_err=155010)
      subversion/libsvn_wc/wc_db.c:5214: (apr_err=155010)
      svn: E155010: The node '/tmp/svn-sandbox/trunk/foo' was not found.
      $ svn st       
      ?       foo
      A       zzz
      $ 
      
      
      Reported to me by Nicholas Marriott.
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              stsp Stefan Sperling
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: