[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: JavaHL: ClientNotifyCallback reports unexpected kind "file" for symlinks

From: Bert Huijben <bert_at_qqmail.nl>
Date: Tue, 19 May 2015 16:40:26 +0200

> -----Original Message-----
> From: Marc Strapetz [mailto:marc.strapetz_at_syntevo.com]
> Sent: dinsdag 19 mei 2015 15:59
> To: dev_at_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.

Received on 2015-05-19 16:42:18 CEST

This is an archived mail posted to the Subversion Dev mailing list.