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

svn proplist -r xxx does not find file if deleted in later revision

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 1.8.x
    • ---
    • cmdline client
    • None

    Description

      svn proplist for old revisions
      If the file is deleted in later Revision the file is not found.
      
      my Version svn 1.8.10 on Windows
      
      svnlook proplist finds the file instead
      
      
      md C:\test
      c:
      cd C:\test
      md reposTest 
      svnadmin create reposTest
      svn checkout file:///C:/test/reposTest wcTest
      echo hello>wcTest\test.txt
      svn add wcTest\test.txt
      svn commit wcTest --message test1
      svn propset testproperty testValue C:\test\wcTest\test.txt
      svn commit wcTest --message test1
      svn delete C:\test\wcTest\test.txt
      svn commit wcTest --message test1
      svn proplist file:///C:/test/reposTest/test.txt -r 2 -v
      svnlook proplist C:\test\reposTest /test.txt -r2 -v
      
      
      OUTPUT
      
      C:\test>c:
      
      C:\test>cd C:\test
      
      C:\test>md reposTest
      
      C:\test>svnadmin create reposTest
      
      C:\test>svn checkout file:///C:/test/reposTest wcTest
      Checked out revision 0.
      
      C:\test>echo hello>wcTest\test.txt
      
      C:\test>svn add wcTest\test.txt
      A         wcTest\test.txt
      
      C:\test>svn commit wcTest --message test1
      Adding         wcTest\test.txt
      Transmitting file data .
      Committed revision 1.
      
      C:\test>svn propset testproperty testValue C:\test\wcTest\test.txt
      property 'testproperty' set on 'wcTest\test.txt'
      
      C:\test>svn commit wcTest --message test1
      Sending        wcTest\test.txt
      
      Committed revision 2.
      
      C:\test>svn delete C:\test\wcTest\test.txt
      D         wcTest\test.txt
      
      C:\test>svn commit wcTest --message test1
      Deleting       wcTest\test.txt
      
      Committed revision 3.
      
      C:\test>svn proplist file:///C:/test/reposTest/test.txt -r 2 -v
      svn: E160013: File not found: revision 3, path '/test.txt'
      
      C:\test>svnlook proplist C:\test\reposTest /test.txt -r2 -v
      Properties on '/test.txt':
        testproperty
          testValue
      

      Original issue reported by mups

      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: