[cmake-developers] Patch to support SVN externals in CTest update

Xavier Besseron xavier.besseron at uni.lu
Mon Jul 30 09:45:39 EDT 2012


Hello,

I am affected by the issue in bug 12630
(http://public.kitware.com/Bug/view.php?id=12630), so I prepared a
patch.

This patch adds support for svn externals during CTest update. I
tested it successfully  with svn 1.6/1.7, Linux/Windows and with
nested externals as well.

Summary of the modifications:
    - Add SVNInfo structure to hold info about each repository
    - Get the list of external repositories (using 'svn status' and
ExternalParser)
    - Run 'svn info' for all repositories, before and after the update
    - Run 'svn log' for all repositories
    - Build the correct path for all updated files (ie add the
external prefix and remove the svn base)

Let me know if you have any questions or comments.


Xavier
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ctest_svn_externals.patch
Type: application/octet-stream
Size: 16788 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20120730/cadcbe0e/attachment-0002.obj>


More information about the cmake-developers mailing list