Comment 31 for bug 81689

Revision history for this message
Parth Malwankar (parthm) wrote :

Hi Martin,

As a part of ignoring symlinks on Windows, I plan to update affected commands to show the consistent behavior of showing the "Ignoring 'xxx' as symlinks are not supported on this platform" warning. So, this should ensure that symlinks are not deleted during Windows commits. I have modified to patch for "status", "diff" and "commit" as well. Will work some more on this over the next few days and submit a merge proposal once there patch is cleanup and has tests. I still need to verify if "check" works correctly. Are there any other commands I should looks at.

Below is the interaction with "status", "diff" and "commit" with the new changes:

D:\ext-src\project-with-symlink>ls
hardlink hello

D:\ext-src\project-with-symlink>..\brun.bat st
Ignoring "softlink" as symlinks are not supported on this platform.

D:\ext-src\project-with-symlink>..\brun.bat diff
Ignoring "softlink" as symlinks are not supported on this platform.

D:\ext-src\project-with-symlink>..\brun.bat ci
Committing to: D:/ext-src/project-with-symlink/
missing softlink
Ignoring "softlink" as symlinks are not supported on this platform.
bzr: ERROR: No changes to commit. Please 'bzr add' the files you want to commit,
 or use --unchanged to force an empty commit.