You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Marcello Henrique <fa...@gmail.com> on 2011/09/17 06:03:15 UTC

Discovery file type by logs.

Hello,

I have use "Svn::Ext::Client.svn_client_log5" into ruby language, I
get structure type "_p_svn_log_changed_path_t", I need the node.kind
proposed by "changed_paths2" for discovery the file type. What's the
better form have do it?

I tried "changed_paths2" but returned "_p_apr_hash_t" as file type,
indeed not should be "_p_svn_log_changed_path_t" as is into
documentation?

I'm sorry any bad explanation.
Thanks.
-- 
Marcello Henrique
Blog - http://faraohh.wordpress.com
Equipe Web - Cercomp - UFG (www.cercomp.ufg.br)
Associação Software Livre de Goiás (www.aslgo.org.br)

Re: Discovery file type by logs.

Posted by Marcello Henrique <fa...@gmail.com>.
Hello everybody,

I will help you for you help me. I created one script with my problem,
for see whether somebody advice.

By documentation [0], See in line 20 into attachments, I should not
have one struct of type [1] identical of the line 18 [2] with just
difference of extended fields (node_kind, text_modified,
props_modifed)?

Is necessary install libsvn-ruby1.8 and ruby1.8, for use mode:

$ ruby esc_debug.rb -f9 -l1 https://svn.cercomp.ufg.br/pub/weby

[0] http://svn.collab.net/svn-doxygen/structsvn__log__entry__t.html
[1] http://svn.collab.net/svn-doxygen/structsvn__log__changed__path2__t.html
[2] http://svn.collab.net/svn-doxygen/structsvn__log__changed__path__t.html

Thanks again.

On Tue, Sep 20, 2011 at 13:09, Marcello Henrique <fa...@gmail.com> wrote:
> Hello,
>
> I will change the question: Using libsvn, how I will discover the file
> type (file, directory) into logs iterations?
>
> Thanks.
>
> On Sat, Sep 17, 2011 at 01:03, Marcello Henrique <fa...@gmail.com> wrote:
>> Hello,
>>
>> I have use "Svn::Ext::Client.svn_client_log5" into ruby language, I
>> get structure type "_p_svn_log_changed_path_t", I need the node.kind
>> proposed by "changed_paths2" for discovery the file type. What's the
>> better form have do it?
>>
>> I tried "changed_paths2" but returned "_p_apr_hash_t" as file type,
>> indeed not should be "_p_svn_log_changed_path_t" as is into
>> documentation?
>>
>> I'm sorry any bad explanation.
>> Thanks.
>> --
>> Marcello Henrique
>> Blog - http://faraohh.wordpress.com
>> Equipe Web - Cercomp - UFG (www.cercomp.ufg.br)
>> Associação Software Livre de Goiás (www.aslgo.org.br)
>>
>
>
>
> --
> Marcello Henrique
> Blog - http://faraohh.wordpress.com
> Equipe Web - Cercomp - UFG (www.cercomp.ufg.br)
> Associação Software Livre de Goiás (www.aslgo.org.br)
>



-- 
Marcello Henrique
Blog - http://faraohh.wordpress.com
Equipe Web - Cercomp - UFG (www.cercomp.ufg.br)
Associação Software Livre de Goiás (www.aslgo.org.br)

Re: Discovery file type by logs.

Posted by Marcello Henrique <fa...@gmail.com>.
Hello everybody,

I will help you for you help me. I created one script with my problem,
for see whether somebody advice.

By documentation [0], See in line 20 into attachments, I should not
have one struct of type [1] identical of the line 18 [2] with just
difference of extended fields (node_kind, text_modified,
props_modifed)?

Is necessary install libsvn-ruby1.8 and ruby1.8, for use mode:

$ ruby esc_debug.rb -f9 -l1 https://svn.cercomp.ufg.br/pub/weby

[0] http://svn.collab.net/svn-doxygen/structsvn__log__entry__t.html
[1] http://svn.collab.net/svn-doxygen/structsvn__log__changed__path2__t.html
[2] http://svn.collab.net/svn-doxygen/structsvn__log__changed__path__t.html

Thanks again.

On Tue, Sep 20, 2011 at 13:09, Marcello Henrique <fa...@gmail.com> wrote:
> Hello,
>
> I will change the question: Using libsvn, how I will discover the file
> type (file, directory) into logs iterations?
>
> Thanks.
>
> On Sat, Sep 17, 2011 at 01:03, Marcello Henrique <fa...@gmail.com> wrote:
>> Hello,
>>
>> I have use "Svn::Ext::Client.svn_client_log5" into ruby language, I
>> get structure type "_p_svn_log_changed_path_t", I need the node.kind
>> proposed by "changed_paths2" for discovery the file type. What's the
>> better form have do it?
>>
>> I tried "changed_paths2" but returned "_p_apr_hash_t" as file type,
>> indeed not should be "_p_svn_log_changed_path_t" as is into
>> documentation?
>>
>> I'm sorry any bad explanation.
>> Thanks.
>> --
>> Marcello Henrique
>> Blog - http://faraohh.wordpress.com
>> Equipe Web - Cercomp - UFG (www.cercomp.ufg.br)
>> Associação Software Livre de Goiás (www.aslgo.org.br)
>>
>
>
>
> --
> Marcello Henrique
> Blog - http://faraohh.wordpress.com
> Equipe Web - Cercomp - UFG (www.cercomp.ufg.br)
> Associação Software Livre de Goiás (www.aslgo.org.br)
>



-- 
Marcello Henrique
Blog - http://faraohh.wordpress.com
Equipe Web - Cercomp - UFG (www.cercomp.ufg.br)
Associação Software Livre de Goiás (www.aslgo.org.br)

Re: Discovery file type by logs.

Posted by Marcello Henrique <fa...@gmail.com>.
Hello,

I will change the question: Using libsvn, how I will discover the file
type (file, directory) into logs iterations?

Thanks.

On Sat, Sep 17, 2011 at 01:03, Marcello Henrique <fa...@gmail.com> wrote:
> Hello,
>
> I have use "Svn::Ext::Client.svn_client_log5" into ruby language, I
> get structure type "_p_svn_log_changed_path_t", I need the node.kind
> proposed by "changed_paths2" for discovery the file type. What's the
> better form have do it?
>
> I tried "changed_paths2" but returned "_p_apr_hash_t" as file type,
> indeed not should be "_p_svn_log_changed_path_t" as is into
> documentation?
>
> I'm sorry any bad explanation.
> Thanks.
> --
> Marcello Henrique
> Blog - http://faraohh.wordpress.com
> Equipe Web - Cercomp - UFG (www.cercomp.ufg.br)
> Associação Software Livre de Goiás (www.aslgo.org.br)
>



-- 
Marcello Henrique
Blog - http://faraohh.wordpress.com
Equipe Web - Cercomp - UFG (www.cercomp.ufg.br)
Associação Software Livre de Goiás (www.aslgo.org.br)