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

Symbolic links from Linux are not ignored in Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.1.x
    • 1.2.0
    • cmdline client
    • None
    • Windows XP

    Description

      A symbolic link that is created and commited from Linux is not ignored when
      checked out under Windows. The windows version of svn will complain that the
      file is of another type than the file in the repository. It will also act as if
      the file was modified client side but it will refuse to commit the file back
      into the repository with the error message "Entry '<filename>' has unexpectedly
      changed special status".
      
      Here is a transcript that shows the problem:
      
      First under Linux
      -----------------
      
      0:gieron@subnav~/repos/test: svn st
      0:gieron@subnav~/repos/test: ln -s /public/samba/nightly/ data
      0:gieron@subnav~/repos/test: svn add data
      A         data
      0:gieron@subnav~/repos/test: svn commit -m "Added a symlink."
      Adding         data
      Transmitting file data .
      Committed revision 118.
      0:gieron@subnav~/repos/test: svn pl -v data
      Properties on 'data':
         svn:special : *
      0:gieron@subnav~/repos/test: svn --version
      svn, version 1.1.0 (r11180)
          compiled Oct  1 2004, 10:24:30
      ...
      
      
      Then under Windows
      ------------------
      
      C:\Desk\Repos\test\henrik>svn up
      A  data
      Uppdaterade till revision 118.
      
      C:\Desk\Repos\test\henrik>svn st
      ~      data
      
      C:\Desk\Repos\test\henrik>svn commit -m "Trying to commit although I 
      didn't change anything."
      svn: Commit failed (details follow):
      svn: Entry 'C:/Desk/Repos/test/henrik/data' has unexpectedly changed 
      special status
      
      C:\Desk\Repos\test\henrik>svn pl -v data
      Properties on 'data':
         svn:special : *
      
      C:\Desk\Repos\test\henrik>svn --version
      svn, version 1.1.1 (r11581)
          compiled Oct 23 2004, 14:47:47
      ...
      

      Original issue reported by _gieron

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: