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

Relative Externals cause repository corruption when branch is renamed.



    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Invalid
    • 1.7.x
    • ---
    • unknown
    • None


      It seems like a new ticket it is needed. I had originally posted the below to 
      I am setting it to P1 because there is no workaround and it causes errors that 
      cannot be fixed in the repository. Essentially the repo is corrupted.
      If I am wrong on this I will be very thrilled to know it!
      Steps to Reproduce: 
      1.As "revision 2", Add a relative-path externals item to /branch1/.
      1a.For example, /branch1/mydoc.txt references to "..\TheDocument.txt".
      2.As "revision 3", Make any new commits as desired.
      3.As "revision 4", Rename the parent of the folder with the external.
      4.Update now fails.
      5.Update to revision 2 fails.
      6.Checkout revision 2 fails.
      Details, copied from the other ticket;
      Anne Tue Aug 21 13:42:49 -0700 2012 -------
      I have a problem with externals that block me from renaming a branch. I 
      documented my work so far in a question on so; 
      Someone else on that thread references a fixed  (Version 1.6.11 19 Apr 2010) 
      update relative externals during a switch 
      My externals item name has embedded spaces and uses a double relative path. It 
      references a file in the same branch but over and down, like so: 
      ../../myOriginFolder/itsSubfolder/my file name.pdf
      Possibly that complexity is part of the problem?
      I wanted to write all that I have so far here. I have not made a reproduce 
      script. All suggestions welcome! (I'm not sure if I should make a new ticket.)
      ------- Additional comments from Anne Tue Aug 21 13:53:28 -0700 2012 -------
      ps My problem differs from this ticket in that I do get an error, where the 
      first note in the log, an info message, shows that switch was invoked with the 
      wrong path of the externals item. It says; 
      Apache/VisualSVN event log says;
      Source:        VisualSVN Server 2.5
      Date:          8/21/2012 11:20:57 AM
      Event ID:      4000
      Level: Information
      Description: switch /myRepo-Path/myOriginFolder/itsSubfolder/my file name.pdf/my 
      file name.pdf /myRepo-Path/mySubfolder/my file name.pdf@7178 
      Notice how "my file name.pdf" occurs twice in the origin part.
      ------- Additional comments from Anne Tue Aug 21 13:54:30 -0700 2012 -------
      On the commandline, the error from update is;
      svn: E205011: Failure occurred processing one or more externals definitions


      Original issue reported by annetheagile


        Issue Links



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