On 1/26/10 10:33 AM, Tyler Roscoe wrote:
On Tue, Jan 26, 2010 at 10:23:03AM +0100, Marcel Loose wrote:
Is that portable? I don't do development on Windows, but I vaguely
remember that on Windows the ".svn" directories had a different name,
because Windows doesn't really like file- and directory names that start
with a dot.
Windows uses .svn directories at least since svn 1.5.

svn 1.7 will likely change this though -- they're moving to a more
centralized sqlite database for the metadata store -- so I would not
recommend any strategy based on the existence of .svn files.

tyler
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.

Ryan

--
Ryan Pavlik
Human-Computer Interaction Graduate Student
Virtual Reality Applications Center
Iowa State University

rpav...@iastate.edu
http://academic.cleardefinition.com/

_______________________________________________
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