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

svn cp corrupts *two* repositories

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Invalid
    • all
    • unscheduled
    • unknown
    • None
    • Linux

    Description

      So today I wanted to import part of one of my trees into another.  My 
      commands were along these lines: 
       
      svn co https://svn.complete.org/offlineimap/offlineimap/head offlineimap 
      cd offlineimap 
      svn mkdir docs 
      svn commit -m "Added new directory for documentation" 
      cd docs 
      svn cp https://svn.complete.org/test/test/head/sgml-common . 
      svn commit -m "Imported from rev 25" 
       
      And here is where the fun starts. 
       
      In general, the first time I run this commit, I'll get back a "500 internal server 
      error."  Yikes.  If I try it again, or an update, I'll get back a more ominous 
      message saying I must run svnadmin recover. 
       
      So Young Skywalker logs on to the server to run svnadmin recover.  It says it's 
      acquiring an exclusive lock and then that it's recovering, but it does nothing 
      for about 10 minutes.  So I figure, maybe there's a locking problem.  I kill 
      apache2, and wala, svnadmin recover finishes in about 10 seconds. 
       
      Now here's another thing.  I had to run svnadmin recover over the offlineimap 
      repository, but ALSO over the test repository.  When I'd try to do an update 
      from a checked-out copy of the test repository, svn would just sit there and 
      finally time out.  I had to kill apache2 before svnadmin worked on that 
      repository as well. 
       
      This problem is 100% repeatable.  So much so that I inflicted it on myself 
      three times trying to make the thing work. 
       
      Please let me know if you need any additional information. 
       
      Thanks, 
      John
      

      Original issue reported by jgoerzen

      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: