summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestUpdateHandler.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-02-16 18:28:47 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-02-16 18:28:47 (GMT)
commit3caedbdddb285909854833375ef736fef6a7b04a (patch)
tree4aea76a07e992d7e5616208006133e3a784c4c2e /Source/CTest/cmCTestUpdateHandler.h
parentee0db4aeb468056b978ff5282463e393b27c55e0 (diff)
downloadCMake-3caedbdddb285909854833375ef736fef6a7b04a.zip
CMake-3caedbdddb285909854833375ef736fef6a7b04a.tar.gz
CMake-3caedbdddb285909854833375ef736fef6a7b04a.tar.bz2
ENH: Initial implementation of SVN support. Closes Bug #1601 - Add subversion support
Diffstat (limited to 'Source/CTest/cmCTestUpdateHandler.h')
-rw-r--r--Source/CTest/cmCTestUpdateHandler.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestUpdateHandler.h b/Source/CTest/cmCTestUpdateHandler.h
index c8bb304..02116ac 100644
--- a/Source/CTest/cmCTestUpdateHandler.h
+++ b/Source/CTest/cmCTestUpdateHandler.h
@@ -36,14 +36,22 @@ public:
int ProcessHandler();
cmCTestUpdateHandler();
+
+ enum {
+ e_CVS,
+ e_SVN,
+ };
private:
- // Some structures needed for cvs update
+ // Some structures needed for update
struct StringPair :
public std::pair<std::string, std::string>{};
struct UpdateFiles : public std::vector<StringPair>{};
struct AuthorsToUpdatesMap :
public std::map<std::string, UpdateFiles>{};
+
+ // Determine the type of version control
+ int DetermineType(const char* cmd, const char* type);
};
#endif