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

Recursive use of svn:externals allowed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.1.x
    • unscheduled
    • cmdline client
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: