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

assertion hit in ra_svn when using -rPREV on added file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.x
    • 1.4.0
    • libsvn_ra_svn
    • None
    • Linux

    Description

      The removal of a directory called "kspread" was (wrongly) committed in revision 
      420162. 
       
      To try and revert that (the wrong way) I did: 
      $ svn mkdir kspread 
      $ svn merge -rBASE:PREV kspread 
      svn: subversion/libsvn_ra_svn/marshal.c:421: vwrite_tuple: Assertion `opt || 
      ((rev) >= 0)' failed. 
       
      Note that this only happens with ra_svn (using a svn+ssh URL). 
      A similar test with a file URL gave: 
       
      $ svn merge -rBASE:PREV dir 
      svn: File not found: revision 0, path '/trunk/dir'
      

      http://svn.haxx.se/users/archive-2005-05/1853.shtml

      Original issue reported by davidfaure

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: