On Wed, Mar 7, 2012 at 3:15 PM, Pavel Sanda <sa...@lyx.org> wrote: > Stephan Witt wrote: >> I don't like hard-coding the knowledge how subversion developers organize >> their meta-data. > > More thoughts - what about this proposal: > 1. We completely kill parsing of 1.6 metadata in .svn. > 2. If possible than write common routine for both 1.6/1.7 (I assume the > output of "svn --xml info" is consistent) > (that also means no detecting and caching for 1.7 being a special case) > 3. The only knowledge left about svn metadata would be checking for .svn in > parental directories > (which we later join with test for .git). This would avoid superfluous > execution of binaries. > > What do you think?
I am not Stephan but I think you should use libsvn. This library seems to have a stable API and works with all version of svn since 1.x Abdel.