What happens if I add a symbolic link to subversion?

前端 未结 8 2201
栀梦
栀梦 2020-12-15 15:58

I\'d like to add a symbolic link to subversion and when I do a checkout all it does is add the same symbolic link right to my checkout but I\'m afraid to add it if that\'s n

8条回答
  •  Happy的楠姐
    2020-12-15 16:21

    Nothing happens if you add a symlink from Linux or other POSIX OS. It just works.

    But when you try to add a symlink from Windows, you will see

    C:\repo>svn add test_link
    svn: E200007: Symbolic links are not supported on this platform
    

    I guess that's because Windows requires UAC to create a symlink. If Subversion allows symlink on Windows, UAC will break normal svn up.

提交回复
热议问题