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

relative file external definition and 'svn switch' breaks working copy

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • trunk
    • 1.7.x
    • libsvn_wc
    • None

    Description

      When an external definition such as:
        ../gamma/delta delta-ext
      configures a file external, a switch to a different branch won't update the
      external's def_repos_relpath in the EXTERNALS table.
      
      If a working copy in such a state is upgraded (even for no-op upgrades from the
      same version of svn to the same version of svn), the node kind of this external
      in the EXTERNALS table switches from 'file' to 'unknown'.
      
      The working copy can then no longer be updated. Every attempt to update the
      working copy errors out as follows:
      
      svn: warning: W195017: The file external from '[...]/branch/gamma/delta' cannot
      overwrite the existing versioned item at '[...]/wc/epsilon/delta-ext'
      
      At revision 3.
      subversion/svn/update-cmd.c:175: (apr_err=SVN_ERR_CL_ERROR_PROCESSING_EXTERNALS)
      svn: E205011: Failure occurred processing one or more externals definitions
      

      Attachments

        1. 1_external-upgrade.sh
          3 kB
          Stefan Sperling

        Issue Links

          Activity

            People

              Unassigned Unassigned
              stsp Stefan Sperling
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: