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

AW: .svn/entries format

From: Markus Schaber <m.schaber_at_3s-software.com>
Date: Mon, 16 May 2011 07:52:51 +0200

Hi, Cate,

> Von: Cate Bekensail [mailto:catebekensail_at_yahoo.com]

[> ]
> We need to obtain information that would normally be provided by 'svn
> info'. The page, the apache user, does not have access to this program,
> but he can read the project’s .svn/entries file. We can guess at the
> information needed but was wondering if the format is published. Strictly
> an ro affair. (saw a previous nanny post)

The format is published in the form that it is documented in the source dowload.

But it is not intented to be read directly by 3rd party applications, its format can change in incompatible ways between SVN releases.

> The env/server is Linux/apache. There are a hundred ways to do this, but
> allowing perl to read this file seems easiest.

Isn't there a perl-svn module somewhere on cpan?
 
> Admin will not allow apache user access to svn.

Not even a local installation (chroot or similar)?

> Also, is there something outside the svn application, a ‘working directory
> only’ version of svn info, (svninfo?), that we could use to obtain local
> working directory “info”. This would not require the security demanded by
> svn proper and would save us from having to read this file.

You could also write a small C program linking statically against the subversion libraries...

Best regards

Markus Schaber

___________________________
We software Automation.

3S-Smart Software Solutions GmbH
Markus Schaber | Developer
Memminger Str. 151 | 87439 Kempten | Germany | Tel. +49-831-54031-0 | Fax +49-831-54031-50

Email: m.schaber@3s-software.com | Web: http://www.3s-software.com
CoDeSys internet forum: http://forum.3s-software.com
Download CoDeSys sample projects: http://www.3s-software.com/index.shtml?sample_projects

Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade register: Kempten HRB 6186 | Tax ID No.: DE 167014915
Received on 2011-05-16 07:53:28 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.