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

svnadmin pack cannot delete files during packing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Cannot Reproduce
    • 1.8.x
    • None
    • svnadmin
    • None
    • Windows 2000

    Description

      During performing svnadmin pack I have read-write errors. Original folder is 
      not removed but new version with .pack word appears:
      
      Errors: 
      D:\SVN>d:\csvn\bin\svnadmin pack PL-PDR
      Packing revisions in shard 100...done.
      Packing revisions in shard 101...svnadmin: E720005: Can't remove 'PL-
      PDR\db\revs
      \101\101000'
      svnadmin: E720005: Can't set file 'PL-PDR\db\revs\101\101000' read-write: 
      Access
       is denied.
      
      D:\SVN>d:\csvn\bin\svnadmin pack PL-PDR
      Packing revisions in shard 102...svnadmin: E720005: Can't remove 'PL-
      PDR\db\revs
      \102\102014'
      svnadmin: E720005: Can't set file 'PL-PDR\db\revs\102\102014' read-write: 
      Access
       is denied.
      
      D:\SVN>d:\csvn\bin\svnadmin pack PL-PDR
      Packing revisions in shard 103...svnadmin: E720005: Can't remove 'PL-
      PDR\db\revs
      \103\103000'
      svnadmin: E720005: Can't set file 'PL-PDR\db\revs\103\103000' read-write: 
      Access
       is denied.
      
      For example here:
      101 stays
      101.pack appears
      
      
      When i run svnadmin pack second time next 102 is processed and the same 
      error appears. 101 folder is not deleted. How can I fix this situation?
      
      
      Software version 4.0.14-4110.144 
      Subversion version 1.8.13-4110.144 
      
      Repository info
      Status: 
      OK 
      
      Filesystem Format: 
      FSFS version 6
      
      
      Revisions: 
      109243
      
      Repository Format: 
      5
      
      Size: 
      14.91 GB 
      
      Sharding: 
      Enabled (1,000 revisions) 
      
      Packed: 
      True 
      
      Representation Sharing: 
      True 
      
      Supports: 
      svndiff1, sharding, mergeinfo, rep-sharing, packed revs, packed revprops
      

      Original issue reported by imakowski

      Attachments

        Activity

          People

            Unassigned Unassigned
            subversion-importer Subversion Importer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: