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

'svn cp' chokes on pegrev

    XMLWordPrintableJSON

Details

    Description

      My understanding is that in svn 1.5, 'svn cp' should be able to handle peg revs.
       Apparently it still gets confused when doing a URL->WC copy:
      
      This command correctly traces the file's history back to a different path:
      
      svn cat -r 41293
      http://anonsvn.jboss.org/repos/jbossas/branches/Branch_4_0/testsuite/src/resources/security/client-login/jaas-service.xml@54875
      
      But when I try to resurrect the old file into a working copy, though, I get an
      error.  The file is actually downloaded to the working copy and scheduled for
      addition, but the error seems to be happening in calculating the 'copyfrom'
      info, so that it can be scheduled A+.
      
      
      $ svn copy -r 41293
      http://anonsvn.jboss.org/repos/jbossas/branches/Branch_4_0/testsuite/src/resources/security/client-login/jaas-service.xml@54875
      ./foo
      subversion/libsvn_ra_dav/util.c:1198: (apr_err=175007)
      svn: REPORT request failed on
      'http://anonsvn.jboss.org/repos/jbossas/trunk/jbosstest/src/resources/security/client-login'
      subversion/libsvn_ra_dav/util.c:462: (apr_err=175007)
      svn:
      'http://anonsvn.jboss.org/repos/jbossas/trunk/jbosstest/src/resources/security/client-login'
      path not found
      
      $ svn st
      A      foo
      

      Attachments

        1. 1_recipe.sh
          0.6 kB
          Stefan Sperling

        Activity

          People

            Unassigned Unassigned
            sussman Ben Collins-Sussman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: