Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing SCC info from PJX.
Message
 
À
20/08/2004 15:15:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Divers
Thread ID:
00934991
Message ID:
00935008
Vues:
15
Hi Greg,

>I have some Project Files that were once under Source Code Control. I need to stripe the references from the PJX file so that when I open them, they do not think they are under SCC anymore.
*==================================================
* Remove the backlink to VSS
*==================================================
LParameter tcProject

	*-----------------------------------------------
	* Check parameter. This is an interactive tool.
	* Therefore we inform the user if something 
	* went wrong.
	*-----------------------------------------------
	If Type("tcProject") # "C"
		Wait Window "Project name required!"
		Return
	Endif
	
	*-----------------------------------------------
	* Open the project file as a table.
	*-----------------------------------------------
	If not File(tcProject+".PJX")
		Wait Window "Project doesn't exist!"
		Return
	Endif
	Use (tcProject+".Pjx") Again ;
		Alias _PJX In 0 Shared
	Select _PJX
	
	*-----------------------------------------------
	* Remove all links to VSS
	*-----------------------------------------------
	Go Top
	Replace next 1 ;
			Local with .T.,;
			SccData with ""
		
	*-----------------------------------------------
	* Close the project file.
	*-----------------------------------------------
	Use in _Pjx
	
Return
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform