On Thu, Oct 20, 2011 at 06:57:47PM +0800, 罗勇刚(Yonggang Luo)  wrote:
> 在 2011年10月20日星期四,Stefan Sperling 写道:
> > Only 1.6 and better support svn_log_changed_path2_t.
> > Older servers will return svn_log_changed_path_t, which doesn't
> > have the node kind:
> >
> > http://people.apache.org/~hwright/svn/doc/api/trunk/structsvn__log__changed__path__t.html
> 
> So that's totally depending on the server, on more question, is that means
> properties modified and text modified only support by server newer than or
> just be subversion server 1.7?

Yes.

With older servers, you can try to list the node to get its kind.
See these links:
http://people.apache.org/~hwright/svn/doc/api/trunk/structsvn__dirent__t.html
http://people.apache.org/~hwright/svn/doc/api/trunk/group__List.html#ga3ac4238fdc4d135798fdcce31bff829a
http://people.apache.org/~hwright/svn/doc/api/trunk/group__List.html#gad34331c2f22f8b5ee906c4abff0866d0

> If the server restricted me to get the kind, what's the fastest way to fetch
> it in other way?

No. The whole point of authorization is to prevent unauthorized
clients from getting this information. If you can work around it
you have found a security hole.

Reply via email to