On Wed, Jan 27, 2010 at 09:03, Marcel Loose <lo...@astron.nl> wrote: > On Tue, 2010-01-26 at 10:53 -0600, Ryan Pavlik wrote: >> An alternative, of course, is to implement a function or macro in a >> module distributed with CMake, that hides the process of detecting >> whether a directory is a svn working copy and can deal with current > and >> future repository formats. >> > That would be my suggested approach as well. Even something simple as > Subversion_is_WC(<var> <dir>), could suffice. Whether you would then > bother the user to first call that macro, prior to invoking > Subversion_WC_INFO, or let Subversion_WC_INFO do the "dirty" work, is > open for discussion.
I've also had this problem and would like to propose a patch that does the check for the working copy in the call to svn info. See attached patch. // Erik -- Erik Johansson Home Page: http://ejohansson.se/ PGP Key: http://ejohansson.se/erik.asc
FindSubversion.cmake.patch
Description: Binary data
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake