Actions:
|
2014-04-16 14:16 AEST by Arthur Barrett - In SccQueryInfo we should call a version of the GetStatusOf() function that can perform 'status' on multiple
files at once.
UniPaaS queries the status of each file during startup - meaning a 2436 file project takes 173 seconds
just for this step.
22:20:15 PM: SccQueryInfo 2.8.01 (Soolin) Build 4959
22:20:15 PM: GetStatusOf nFiles=2436 cvsstatus=8 filesProcessed=0.
22:20:15 PM: GetStatusOf nFiles=2436 cvsstatus=8
pathpart="D:\Develop\TDUniPaaS\V_Oficial\Producc\Source\".
22:20:15 PM: cache is a match "D:\Develop\TDUniPaaS\V_Oficial\Producc\Source\" and
"D:\Develop\TDUniPaaS\V_Oficial\Producc\Source\", is ("16301dff" < "0"+10000)?
22:20:15 PM: cache is expired "16301dff" >= "0"+10000.
22:20:15 PM: cache is expired "16301dff" >= "0"+10000.
22:20:15 PM: dirFileResult: allocated
22:20:15 PM: set current directory to "D:\Develop\TDUniPaaS\V_Oficial\Producc\Source\" was
"D:\Develop\TDUniPaaS\V_Oficial\Producc".
.
.
.
22:23:08 PM: GetStatusOf cvsstatus=8
GetLastWriteTime("D:\Develop\TDUniPaaS\V_Oficial\Producc\Source\Prg_2391.xml").
22:23:08 PM: Get the size of "D:\Develop\TDUniPaaS\V_Oficial\Producc\Source\CVS\Root".
22:23:08 PM: Now open the 32 byte file.
22:23:08 PM: Open is OK
22:23:08 PM: Now read the 32 byte file.
22:23:08 PM: Read in 32 bytes from file.
22:23:08 PM: Did not find the users name in the Root file
22:23:08 PM: lpFilename[2436 of 2436]=D:\Develop\TDUniPaaS\V_Oficial\Producc\Source\Prg_2391.xml
(Wed Oct 9 19:36:44 2013) Read-Only
22:23:08 PM: add statusresult
22:23:08 PM: 2435: D:\Develop\TDUniPaaS\V_Oficial\Producc\Source\Prg_2391.xml[exists] Controlled
22:23:08 PM: SccQueryInfo return SCC_OK
For UniPaaS all these files in a single SccQueryInfo API call are in the same directory, but other IDE's may
behave differently.
Maybe the 'first cut' of this could simply check if all the files are in the same directory (or have the same
'root') and if they are then go ahead and issue a single 'status' command. |