The code that followed symlinks belongs to Darcs.RepoPath.ioAbsolute, so
this change will affect all commands that accept file arguments. This
shouldn't cause any troubles, since the tests for issue1645 do a lot of
work ensuring that symlinks are handled correctly. The
Darcs.Commands.Add module didn't require any changes, there aready was
code for rejecting symlinked directories (it just wasn't getting any).
2 patches for repository http://darcs.net/screened:
Thu Feb 10 00:17:20 EET 2011 Alexey Levan
* Test for issue2041
Thu Feb 10 00:19:47 EET 2011 Alexey Levan
* Resolve issue2041: prevent Darcs from following the directory symlinks
Attachments
|