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

how can I get wc_root

From: HuiHuang <yellow.flying_at_yahoo.com.cn>
Date: Sun, 21 Jun 2009 16:36:39 +0800

hi Arfrever Frehtes Taifersar Arahesis,

>$ grep uuid subversion/include/*
Thanks for your help, it really works. I have found what I want.

Now I have another question: Given a path, how can I get the wc_root?
I find the following function in include/svn_wc.h.

svn_error_t *
svn_wc_is_wc_root(svn_boolean_t *wc_root,
                  const char *path,
                  svn_wc_adm_access_t *adm_access,
                  apr_pool_t *pool);
But it is not enough, is there any other function which can do the work?
Or I have to write a new function by myself?

Duplicate work is not necessary, so it is better to ask firstly:)
Thanks~
Best Regards.

Huihuang

------------------
yellow.flying
2009-06-21

-------------------------------------------------------------
>发件人:Arfrever Frehtes Taifersar Arahesis
>发送日期:2009-06-21 10:16:10
>收件人:HuiHuang; Subversion Development
>抄送:Stefan Sperling
>主题:Re: how can I get uuid

2009-06-21 03:56:04 HuiHuang napisał(a):
> Hey,
>
> I want to get the uuid of a repository, and it will be indicator of the repository.

$ grep uuid subversion/include/*

-- 
Arfrever Frehtes Taifersar Arahesis
��i��'���ɨh��&
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2363920
Received on 2009-06-21 10:37:20 CEST

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