[CMake] Update GetSVN.cmake to use LLVM version control helper scripts.
authorJordan Rose <jordan_rose@apple.com>
Wed, 19 Nov 2014 22:03:21 +0000 (22:03 +0000)
committerJordan Rose <jordan_rose@apple.com>
Wed, 19 Nov 2014 22:03:21 +0000 (22:03 +0000)
commitc1800d25241922f95e9aff8f72126e569d5134bf
tree0f5a17f078b729b1269ad851db93afcb123d5cbb
parentb4986e5a4469b71a76a7391cb797297fb2a346f2
[CMake] Update GetSVN.cmake to use LLVM version control helper scripts.

This allows the logic to work with Git, and also uses the variable names
to match what Clang is actually looking for.

This is a re-application of r190556 and r190808. This changes the interface
of GetSVN.cmake. Clang change to follow.

llvm-svn: 222391
llvm/cmake/modules/GetSVN.cmake