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

Poor error messages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • all
    • unscheduled
    • unknown
    • None
    • Linux

    Description

      This is all with Svn 0.21.0.  Try this against a DAV repository.
      
      svn co -N http://somerepos.com/repos test
      cd test
      svn mkdir proj proj/branches proj/tags proj/trunk
      svn ci -m ''
      
      cd ..
      rm -fr test
      svn co -N http://somerepos.com/repos test
      cd test
      svn mkdir proj proj/branches proj/tags proj/trunk
      svn ci -m ''
      
      
      Get this message which doesn't indicate what's going on:
      
      Adding         proj
      subversion/libsvn_client/commit.c:628: (apr_err=175002)
      svn: RA layer request failed
      svn: Commit failed (details follow):
      subversion/libsvn_ra_dav/util.c:81: (apr_err=175002)
      svn: MKCOL of /repos/test/!svn/wrk/xxxxxxxxxxxx/proj: 405 Method Not 
      Allowed
      
      Using a ra_local, you get this message, which is entirely understandable:
      
      svnadmin create repos
      svn co file://`pwd`/repos r1
      cd r1
      svn mkdir proj proj/branches proj/tags proj/trunk
      svn ci -m ''
      cd ..
      svn co file://`pwd`/repos r2
      rm -fr r2
      svn co -N file://`pwd`/repos r2
      cd r2
      svn mkdir proj proj/branches proj/tags proj/trunk
      svn ci -m ''
      
      Adding         proj
      subversion/libsvn_client/commit.c:628: (apr_err=160020)
      svn: Item already exists in filesystem
      svn: Commit failed (details follow):
      subversion/libsvn_fs/tree.c:204: (apr_err=160020)
      svn: file already exists: filesystem 
      `/export/home1/blair/tmp/z/repos/db', transaction `2', path `proj'
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              blair Blair Zajac
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: