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

'svnadmin load' should optionally tolerate/skip adds of directories that already exist in the target repo

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.4.x
    • unscheduled
    • svnadmin
    • None

    Description

      Hello,
      
      I am working with cvs2svn to convert existing cvs repositories.
      When I am trying to convert multiple cvs repositories into one svn repository
      this works when giving cvs2svn --trunk=proj1/trunk as destination.
      cvs2svn uses svnadmin to read the created dumpfiles into the svn repository.
      So I could read in projects in a structure like
      
      proj1/trunk
      proj2/trunk
      
      etc. without problem.
      
      But for some cvs project I need another structure like:
      
      trunk/proj1
      trunk/proj2
      
      this fails, because of a:
      
      ERROR: svnadmin failed with the following output while loading the dumpfile:
      svnadmin: File already exists: filesystem '/srv/svn/cpp/db', transaction
      '717-10', path 'trunk'
      
      So the problem here is that a second dump also starts its path with "trunk"
      which already exists.
      It would be helpful to have a switch - for starting check of existing path
      elements (directory depth) at a given level - to allow importing such kind of
      svn dumps.
      

      Original issue reported by powerstat

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: