On Mon, Jan 25, 2010 at 7:37 AM, Marcel Loose <lo...@astron.nl> wrote:

> Hi all,
>
> IMHO the macro Subversion_WC_INFO in FindSubversion.cmake should not do
> a SEND_ERROR, when the 'svn info' command fails. This makes the macro
> useless if you want to be able to use it both on SVN working copies and
> SVN exported trees. Either make this behaviour configurable, or change
> it to STATUS (or WARNING, but that's not supported for CMake < 2.8)
>
> Best regards,
> Marcel Loose.
>

As the "_WC_" in the macro name implies, it only works on working copies.
You can call it conditionally based on whether the ".svn/" directory exists
at the root of your source tree. Just a heuristic, but will probably work
99%+ of the time for you...

HTH,
David
_______________________________________________
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

Reply via email to