summaryrefslogtreecommitdiffstats
path: root/Help/command/ctest_update.rst
blob: 01e357bb4dd5ec24ce8ae0e424dc989ac13ca3cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
ctest_update
------------

Update the work tree from version control.

::

  ctest_update([SOURCE source] [RETURN_VALUE res] [QUIET])

Updates the given source directory and stores results in Update.xml.
If no SOURCE is given, the CTEST_SOURCE_DIRECTORY variable is used.
The RETURN_VALUE option specifies a variable in which to store the
result, which is the number of files updated or -1 on error.

If QUIET is specified then CTest will suppress most non-error
messages that it would have otherwise printed to the console.
CTest will still report the new revision of the repository
and any conflicting files that were found.