subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Shahaf <...@daniel.shahaf.name>
Subject Re: svn status merges intersected external records into single row
Date Sun, 02 Jul 2017 04:08:00 GMT
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).

Mime
View raw message