I was trying to implement an extension to an exception collecting system.
After extracting file path and line number from an exception, I want to know who wrote that line and one obvious to accomplish this is “svn blame”.
But I don’t know how to access SVN in Python.
There are bindings for
subversionhere calledpysvn. I’ve never used them, but they seem reasonable.You can also just use the
subprocessmodule and call out tosvn, but I’d try the bindings first.