[GME-commit] GMESRC/GME/Mga MgaProject.cpp,1.60,1.61
gme-commit at list.isis.vanderbilt.edu
gme-commit at list.isis.vanderbilt.edu
Fri Oct 29 11:57:16 CDT 2004
Update of /var/lib/gme/GMESRC/GME/Mga
In directory braindrain:/tmp/cvs-serv491
Modified Files:
MgaProject.cpp
Log Message:
no message
CVS User: bogyom
Index: MgaProject.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/Mga/MgaProject.cpp,v
retrieving revision 1.60
retrieving revision 1.61
diff -C2 -d -r1.60 -r1.61
*** MgaProject.cpp 21 Oct 2004 20:08:34 -0000 1.60
--- MgaProject.cpp 29 Oct 2004 15:57:14 -0000 1.61
***************
*** 1564,1567 ****
--- 1564,1578 ----
STDMETHODIMP CMgaProject::UpdateSourceControlInfo()
{
+ CComPtr<IMgaTerritory> lm;
+ COMTHROW(CreateTerritory(NULL, &lm));
+ COMTHROW(BeginTransaction(lm, TRANSACTION_GENERAL));
+
+ // hack: core will recognize this action as a source control status update
+ CoreObj dataroot;
+ COMTHROW(dataproject->get_RootObject(&dataroot.ComPtr()));
+ dataroot[ATTRID_MDATE] = "UpdateSourceControlInfo";
+
+ COMTHROW(CommitTransaction());
+
return S_OK;
}
More information about the GME-commit
mailing list