[GME-commit] GMESRC/GME/XmlBackEnd SvnHelper.h, 1.1, 1.2 SvnHelper.cpp, 1.1, 1.2 resource.h, 1.7, 1.8

Log messages of CVS commits gme-commit at list.isis.vanderbilt.edu
Fri Apr 18 11:37:04 CDT 2008


Update of /project/gme-repository/GMESRC/GME/XmlBackEnd
In directory escher:/tmp/cvs-serv6311

Modified Files:
	SvnHelper.h SvnHelper.cpp resource.h 
Log Message:
Update and test setup commands.


CVS User: Zoltan Molnar, ISIS (zolmol)

Index: SvnHelper.cpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/XmlBackEnd/SvnHelper.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** SvnHelper.cpp	13 Feb 2008 18:54:57 -0000	1.1
--- SvnHelper.cpp	18 Apr 2008 16:37:02 -0000	1.2
***************
*** 153,154 ****
--- 153,186 ----
  		AfxMessageBox( ("Commit command failed with " + p_localPath).c_str());
  }
+ 
+ //static
+ void CSvnHelper::invokeUpdate( const std::string& p_localPath, bool p_apiAccess)
+ {
+ 	CComPtr<ISvnTester> p;
+ 	p.CoCreateInstance( L"Mga.XmlbackEnd.SvnTester");
+ 	if( !p) {
+ 		AfxMessageBox( "Update command failed because could not create invoker object.");
+ 		return;
+ 	}
+ 
+ 	CComBSTR       path  = p_localPath.c_str();
+ 	VARIANT_BOOL   byapi = p_apiAccess?VARIANT_TRUE : VARIANT_FALSE;
+ 
+ 	if( SUCCEEDED( p->update( path, byapi)))
+ 		AfxMessageBox( ("Update command executed with " + p_localPath).c_str(), MB_ICONINFORMATION);
+ 	else
+ 		AfxMessageBox( ("Update command failed with " + p_localPath).c_str());
+ }
+ 
+ //static
+ void CSvnHelper::invokeTestSubDirs()
+ {
+ 	CComPtr<ISvnTester> p;
+ 	p.CoCreateInstance( L"Mga.XmlbackEnd.SvnTester");
+ 	if( !p) {
+ 		AfxMessageBox( "Testing connectivity failed because could not create invoker object.");
+ 		return;
+ 	}
+ 
+ 	p->testSubversionSettingsDlg();
+ }

Index: resource.h
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/XmlBackEnd/resource.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** resource.h	18 Apr 2008 16:31:51 -0000	1.7
--- resource.h	18 Apr 2008 16:37:02 -0000	1.8
***************
*** 51,55 ****
  #define IDC_UPDATE_BUTTON               236
  #define IDC_TESTCONN_BUTTON             237
- #define IDC_STATIC2                     238
  
  // Next default values for new objects
--- 51,54 ----
***************
*** 59,63 ****
  #define _APS_NEXT_RESOURCE_VALUE        232
  #define _APS_NEXT_COMMAND_VALUE         32768
! #define _APS_NEXT_CONTROL_VALUE         239
  #define _APS_NEXT_SYMED_VALUE           107
  #endif
--- 58,62 ----
  #define _APS_NEXT_RESOURCE_VALUE        232
  #define _APS_NEXT_COMMAND_VALUE         32768
! #define _APS_NEXT_CONTROL_VALUE         238
  #define _APS_NEXT_SYMED_VALUE           107
  #endif

Index: SvnHelper.h
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/XmlBackEnd/SvnHelper.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** SvnHelper.h	13 Feb 2008 18:54:57 -0000	1.1
--- SvnHelper.h	18 Apr 2008 16:37:02 -0000	1.2
***************
*** 15,17 ****
--- 15,19 ----
  	static void invokeCheckout( const std::string& p_url, const std::string& p_localPath, bool p_apiAccess);
  	static void invokeCommit( const std::string& p_localPath, bool p_apiAccess);
+ 	static void invokeUpdate( const std::string& p_localPath, bool p_apiAccess);
+ 	static void invokeTestSubDirs();
  };



More information about the GME-commit mailing list