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

Re: How to use get_log along with path kind {file,directory}?

From: Yonggang Luo <luoyonggang_at_gmail.com>
Date: Thu, 20 Oct 2011 18:28:07 +0800

Thanks, that's impressive,
The type of the node, may be svn_node_unknown.: When this happened, is that
depending on the server or other condition?

*Are properties modified, may be svn_tristate_unknown. *Did old servers
support for this?
also with text_modified<http://people.apache.org/~hwright/svn/doc/api/trunk/structsvn__log__changed__path2__t.html#afc14fcfc8e3a3b754dbf8803c4731dd5>

>
> On Thu, Oct 20, 2011 at 09:01:52AM +0800, 罗勇刚(Yonggang Luo) wrote:
> > I didn't received the reply, so I repost it, because I am just
> > subscribe to this list. Btw, can you be more specified, I didn't found
> > the place how get_log along with path kind.
>
> I assume your quesiton is about the API, rather than the command
> line client, correct?
>
> See the definition of svn_log_changed_path2_t:
>
> http://people.apache.org/~hwright/svn/doc/api/trunk/structsvn__log__changed__path2__t.html
> That data structure has the node kind.
>
> You can get it via svn_ra_get_log2():
>
> http://people.apache.org/~hwright/svn/doc/api/trunk/svn__ra_8h.html#a366d8ab12ae02fcade47bcbda7078f0a
> from the changed_paths2 member of the svn_log_entry_t argument
>
> http://people.apache.org/~hwright/svn/doc/api/trunk/structsvn__log__entry__t.html
> which is passed to the log receiver you have to implement to use
> svn_ra_get_log2():
> http://people.apache.org/~hwright/svn/doc/api/trunk/svn__types_8h.html#afb30054d6301afbcd8b00d8dc11d7ddb
>
> Hope this helps.
>

-- 
         此致
礼
罗勇刚
Yours
    sincerely,
Yonggang Luo
Received on 2011-10-20 12:28:41 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.