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

Recursive use of svn:externals allowed

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.1.x
    • Fix Version/s: unscheduled
    • Component/s: cmdline client
    • Labels:
      None

      Description

      Hi
      
      I've discussed this issue with Ben on IRC and he asked me to go ahead and raise
      an issue.
      
      I wondered what would happen if you set the svn:externals property on a
      directory so that it pointed to its parent directory. So:
      
      http://localhost/svn/recurse/recurseme has the svn:externals value
      "http://localhost/svn/recurse".
      
      I also created two files, "file1" and "file2" in recurse/
      
      The answer is exactly what you'd expect:  when a checkout is issued, the client
      merrily recurses round the tree creating ever deeper and deeper nested
      directories until this happens:
      
      "svn: Can't open file 'recurse/recurseme/...<lots of lines of
      /recurseme/recurseme>.../recurseme/.svn/text-base/file1.svn-base': File name too
      long"
      
      I realise this is user error rather than an actual bug, but Ben thought svn
      might be able to trap this situation.
      
      Regards
      
      Martin A. Brooks
      

      Original issue reported by martbrooks

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: