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

Switch a file to a dir: can't switch it back to the file

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: all
    • Fix Version/s: unscheduled
    • Component/s: unknown
    • Labels:

      Description

      "svn switch" is able to switch a file to a directory but, having done that,
      cannot switch the directory back to the file.  When "d" is a directory and "f"
      is a file, the output is:
      
      + svn switch file:///home/julianfoad/tmp/svn-switch-test/repos/d f
      D  f
      A  f
      Updated to revision 1.
      
      + svn switch file:///home/julianfoad/tmp/svn-switch-test/repos/f f
      /home/julianfoad/src/subversion/subversion/libsvn_repos/delta.c:209:
      (apr_err=160005)
      svn: Invalid filesystem path syntax
      svn: svn_repos_dir_delta: invalid editor anchoring; at least one of the input
      paths is not a directory and there was no source entry
      

        Attachments

        1. 2_svn-switch-test.patch
          1 kB
          Julian Foad
        2. 1_svn-switch-test.sh
          0.4 kB
          Julian Foad

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                julianfoad Julian Foad
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: