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

Re: svn status merges intersected external records into single row

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Sun, 02 Jul 2017 04:08:00 +0000

Andry wrote on Sat, 01 Jul 2017 21:45 +0300:
> Hello Johan,
>
> Friday, June 30, 2017, 11:20:11 PM, you wrote:
>
> JC> Andrey, you might be able to parse the externals from the "Performing
> JC> status on external ..." lines as a workaround.
> It would be excessive that way. Better just to read the EXTERNALS
> table from the wc.db directly.

The db schema may change arbitrarily between versions. If you insist
on this approach, the right way to do it is to check `pragma user_version;`
first and bail out if it's a newer value than your code knows how to handle.

The public API is what Johan suggested, or to use the libsvn_client bindings
in the language of your choice (C/java/python/perl/ruby).
Received on 2017-07-02 06:08:06 CEST

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