Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing SCC info from PJX.
Message
De
20/08/2004 16:12:28
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Divers
Thread ID:
00934991
Message ID:
00935037
Vues:
22
Thanks. That saved me alot of time.

>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
>
Greg Reichert
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform