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

svn reports "'.' is not valid as filename" when updating a dir named 'E:' on Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • 1.8.x
    • ---
    • libsvn_wc
    • None

    Description

      User reported problems when updating a working copy from a repository which
      contains a dir named 'E:'. When verifying this with 1.8.0, I got an error
      message (great). The error message was not so great though, reporting '.'
      instead of 'E:' as the invalid filename.
      
      Just reporting it here in case someone is interested (and setting it to P5 ...
      the most important thing is that this generates an error message).
      
      See http://svn.haxx.se/users/archive-2013-06/0097.shtml for more info.
      
      From a quick look, the problem seems to be that in
      update_editor.c#make_dir_baton, the given path is first run through
      svn_dirent_basename (which converts 'E:' to ''), and only then is passed to
      path_join_under_root (which generates the error message). Not sure how best to
      fix this.
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            jcorvel Johan Corveleyn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: