Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Removing SCC info from PJX.
Message
From
20/08/2004 16:12:28
 
General information
Forum:
Visual FoxPro
Category:
Project manager
Miscellaneous
Thread ID:
00934991
Message ID:
00935037
Views:
26
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
Previous
Reply
Map
View

Click here to load this message in the networking platform