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

Re: Which Function to call in order to get absolute path of working copy root node?

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Mon, 18 Jan 2016 02:25:59 +0000

Ruchir Arya wrote on Sat, Jan 16, 2016 at 17:26:59 -0800:
> Hello Everybody,
>
> I am a student and i focus on open source projects.
> Currently i am implementing a feature in subversion, however, i am unable

If you intend to contribute that feature, you might want to discuss it
with us before you get too far along implementing it.

> So is there any function which i can just call and get the absolute path of
> my working copy which is
> "/home/user/Desktop/test" even if i am in any nested directory inside my
> working directory.
>
> Replies will be highly appreciated.

Check what 'svn info --show-item=wc-root' does. (You can start in
svn_cl__info() in subversion/svn/info-cmd.c.)

In the future please use the correct address of this mailing list, see
https://subversion.apache.org/mailing-lists

Cheers,

Daniel
Received on 2016-01-18 03:26:05 CET

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

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