[Cmake-commits] CMake branch, next, updated. v2.8.2-758-g24ecd4c

Marcel Loose loose at astron.nl
Mon Sep 13 07:19:56 EDT 2010


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  24ecd4cfde77b2fa600022b3bdad0f41a1ba6bd5 (commit)
       via  80bad29af6dbff6ea284d7a56735f85fc7476e5a (commit)
       via  f3bc219adbbf10f3a75af1ac1db1f47b90102e19 (commit)
      from  c134483df8c0fecd91f63796eb8f7fd9ca8e62c9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=24ecd4cfde77b2fa600022b3bdad0f41a1ba6bd5
commit 24ecd4cfde77b2fa600022b3bdad0f41a1ba6bd5
Merge: c134483 80bad29
Author:     Marcel Loose <loose at astron.nl>
AuthorDate: Mon Sep 13 13:16:15 2010 +0200
Commit:     Marcel Loose <loose at astron.nl>
CommitDate: Mon Sep 13 13:16:15 2010 +0200

    Merge branch 'issue_10199' into next


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=80bad29af6dbff6ea284d7a56735f85fc7476e5a
commit 80bad29af6dbff6ea284d7a56735f85fc7476e5a
Author:     Marcel Loose <loose at astron.nl>
AuthorDate: Mon Sep 13 13:13:12 2010 +0200
Commit:     Marcel Loose <loose at astron.nl>
CommitDate: Mon Sep 13 13:13:12 2010 +0200

    Issue 10199: Fixed code documentation and now set <prefix>_WC_ROOT

diff --git a/Modules/FindSubversion.cmake b/Modules/FindSubversion.cmake
index 9bad3b1..daf3d87 100644
--- a/Modules/FindSubversion.cmake
+++ b/Modules/FindSubversion.cmake
@@ -8,18 +8,22 @@
 # The minimum required version of Subversion can be specified using the
 # standard syntax, e.g. FIND_PACKAGE(Subversion 1.4)
 #
-# If the command line client executable is found the macro
+# If the command line client executable is found two macros are defined:
 #  Subversion_WC_INFO(<dir> <var-prefix>)
-# is defined to extract information of a subversion working copy at
-# a given location. The macro defines the following variables:
+#  Subversion_WC_LOG(<dir> <var-prefix>)
+# Subversion_WC_INFO extracts information of a subversion working copy at
+# a given location. This macro defines the following variables:
 #  <var-prefix>_WC_URL - url of the repository (at <dir>)
 #  <var-prefix>_WC_ROOT - root url of the repository
 #  <var-prefix>_WC_REVISION - current revision
 #  <var-prefix>_WC_LAST_CHANGED_AUTHOR - author of last commit
 #  <var-prefix>_WC_LAST_CHANGED_DATE - date of last commit
 #  <var-prefix>_WC_LAST_CHANGED_REV - revision of last commit
-#  <var-prefix>_WC_LAST_CHANGED_LOG - last log of base revision
 #  <var-prefix>_WC_INFO - output of command `svn info <dir>'
+# Subversion_WC_LOG retrieves the log message of the base revision of a
+# subversion working copy at a given location. This macro defines the
+# variable:
+#  <var-prefix>_LAST_CHANGED_LOG - last log of base revision
 # Example usage:
 #  FIND_PACKAGE(Subversion)
 #  IF(SUBVERSION_FOUND)
@@ -74,6 +78,8 @@ IF(Subversion_SVN_EXECUTABLE)
 
       STRING(REGEX REPLACE "^(.*\n)?URL: ([^\n]+).*"
         "\\2" ${prefix}_WC_URL "${${prefix}_WC_INFO}")
+      STRING(REGEX REPLACE "^(.*\n)?Repository Root: ([^\n]+).*"
+        "\\2" ${prefix}_WC_ROOT "${${prefix}_WC_INFO}")
       STRING(REGEX REPLACE "^(.*\n)?Revision: ([^\n]+).*"
         "\\2" ${prefix}_WC_REVISION "${${prefix}_WC_INFO}")
       STRING(REGEX REPLACE "^(.*\n)?Last Changed Author: ([^\n]+).*"

-----------------------------------------------------------------------

Summary of changes:
 Modules/FindSubversion.cmake      |   14 ++++++++++----
 Source/kwsys/kwsysDateStamp.cmake |    2 +-
 2 files changed, 11 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list