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

Re: OMG svn info https://?????

From: Brian Denny <brian_at_briandenny.net>
Date: 2003-11-07 16:31:06 CET

Shamim,

Both "svn info" and "svn status" give information about the
*working copy*, not the repository. So I don't know what use that
information is to you if you're building a repository browser.

But FWIW, if you wanted to be able to display that kind of information
about a working copy, you would use the libsvn_wc API/bindings to
get yourself an "entry" object (struct), and look at the fields of that
object. The reason, I imagine, that no-one's implemented a library
equivalent of 'svn info' is that that command essentially just
pretty-prints values out of an "entry" object which is already
obtainable through the API.

As far as building a repository browser, you'd probably be looking at
other libraries -- maybe libsvn_ra? The point is that you should look
at the libraries to see at what layer the information you need is
provided. It's not necessarily going to be in the client api, because,
well, the client just isn't the kind of full-featured repository browser
that you're trying to build.

Now if your language of choice is PHP and there aren't any PHP bindings,
that may be a problem for you. Python seems quite easy to learn... ;)

-brian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 7 16:22:16 2003

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