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

Repos->WC copy of a file with svn:keywords causes svn to crash

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • all
    • 0.28.0
    • libsvn_wc
    • None
    • Linux

    Description

      An Repos->WC copy of a file with the svn:keywords property set causes the 
      svn client to crash. The following script demonstrates it: 
       
      #!/bin/sh 
       
      REPOS=repo 
      REPOS_URL=file://`pwd`/repo 
      WC=wc 
       
      echo "creating repository" 
      svnadmin create ${REPOS} 
      svn co ${REPOS_URL} ${WC} > /dev/null 
       
      echo foo > ${WC}/foo 
      echo bar >> ${WC}/foo 
       
      svn add ${WC}/foo 
      svn propset svn:keywords LastChangedDate ${WC}/foo 
      svn ci -m Hello ${WC} 
       
      svn copy ${REPOS_URL}/foo ${WC}/bar 
       
      Analyzing it, it seems to me that the problem is that there isn't an entry to the 
      file in .svn/entries when the translation occurs. After a successful operation 
      (without svn:keywords) is done, there does seem to be an entry somehow.
      

      Attachments

        1. 1_1473-patch-in-progress.txt
          36 kB
          Karl Fogel
        2. 2_1473-patch-in-progress-2.txt
          39 kB
          Karl Fogel

        Activity

          People

            Unassigned Unassigned
            shlomif Shlomi Fish
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: