> -----Original Message----- > From: Marc Strapetz [mailto:marc.strap...@syntevo.com] > Sent: dinsdag 19 mei 2015 15:59 > To: dev@subversion.apache.org > Subject: JavaHL: ClientNotifyCallback reports unexpected kind "file" for > symlinks > > When recursively adding a directory "test" which contains another > directory "sub" and a symlink "sub.link" pointing to "sub", "sub.link" > is reported with kind=file where I would expect to receive kind=symlink. > The problem can be reproduced by following code snippet, using quite > recent 1.9 binaries:
I don't think Subversion uses kind is symlink anywhere in its public api (yet), so this is totally expected. When we build WC-NG for Subversion 1.7 we introduced database support for storing symlinks as their own kind, but we never switched to this storage yet. Currently symlinks are still files with an 'svn:special' property set on them internally, for Subversion repositories. The node kind enum was extended when we moved to a single enum for node kinds, but changing how we report and store symlinks is far from trivial. Bert