Two methods to force the deletion of items not migrated in TFs.

Source: Internet
Author: User

Method 1:

The Command Prompt for enabling vs2008 is:

View the user's workspace:

Input: TF workspaces/owner: owner or */Server: server name or IP address

Ex: TF workspaces/owner: stcct (owner)/Server: 203.156.1.100 (IP address)

Delete the user's unmigrated items:

Enter: TF Undo/workspace: Workspace name; Owner/Server: server name or IP address locked file path on the TFS Server

Ex: TF Undo/workspace: MICRO-18S9A: stcct/Server: 203.156.1.100 $ \ file3 \ web3.0 "Dev \ admin \ course \ zw0033 \

You can delete unmigrated items.

Method 2:

Force delete database:

Open the TFS database:

Query the ID of the workspace by the workspace name; select workspaceid from tbl_workspace where workspacename like'm %'

Query unmigrated items: Select * From tbl_pendingchange where workspaceid = 'workspaceid'

Delete unmigrated items. Check whether data is locked in the tbl_lock table. If yes, delete them together.

 

 

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.