Andre Poenitz wrote:
On Mon, Jul 21, 2008 at 02:41:16PM -0400, rgheck wrote:
Pavel Sanda wrote:
Pavel Sanda wrote:
but to add support for svn (on the level of cvs) seems to be easy bussines of
copy and paste from cvs code (nearly:) without beeing invasive to other parts
of code.
as simple as this

Excellent! How are we choosing the VCS when we "register" the file?

In SVN::checkOut(), could you just try to do it and check the return value? Of course, you wouldn't necessarily know what the cause was, but it might be enough. Otherwise, you could redirect stderr to a file and then parse it, much as we do when we run latex.

QProcess::readAllStandardError() comes to mind...

Yes, that class looks like it might be very helpful in support/.

rh

Reply via email to