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

revert throws an error for unversioned targets

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • trunk
    • 1.7.0
    • unknown
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment