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

REPORT fails if item doesn't exist in HEAD

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • all
    • 0.23
    • libsvn_ra_neon
    • None

    Description

      A working copy where the root URL gets deleted from the repository
      cannot be switched using ra_dav, but can be switched using ra_local. Given
      
      svnadmin create /tmp/repo
      svn mkdir file:///tmp/repo/foo
      svn mv file:///tmp/repo/foo file:///tmp/repo/bar
      svn co -r1 file:///tmp/repo/foo wc1
      svn co -r1 http://localhost/tmp/repo/foo wc2
      
      This works
      svn switch file:///tmp/repo/bar wc1
      
      but this fails
      svn sw http://localhost/tmp/repo/bar wc2
      ../svn/subversion/libsvn_ra_dav/util.c:332: (apr_err=160013, src_err=0)
      svn: Filesystem has no item
      svn: REPORT request failed on /tmp/repo/foo
      ../svn/subversion/libsvn_ra_dav/util.c:163: (apr_err=160013, src_err=0)
      svn: 
      file not found: revision `2', path `/foo'
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              philipm Philip Martin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: