Jump to content

How to undo checkout for non existing workspace


Soho

Recommended Posts

Hi,

I have some "zombie" checkouts that I don't know how to get rid of.

We are using TeamCity as our build server and I think it is the culprit. Somehow it has checked out some files, but in a workspace that doesn't exist. In fact, it doesn't even have a name.

E.g.:

cm findcheckouts --all

will list a lot of files like this:

11/21/2011 15:44 IHPBuild wk:@IHP_PEGASUS IHP_PEGASUS /Test/RecipientSearchTest/Properties/AssemblyInfo.cs#br:/main/Rett Betalt 2.2#CO@rep:RettBetalt@localhost:8084

Notice the missing workspace name: "wk:@IHP_PEGASUS".

The checkouts make labeling impossible, so we would like to kill those checkouts.How do we do that?

A side note. TeamCity uses a cache directory for the Plastic checkouts, but copies the whole workspace to a workfolder including the .plasticscm folder. Only the cached folders appear as workspaces in the plastic gui, but I am able to run cm commands on the work folder as well (like cm findcheckouts). I am a bit uneasy about the fact that TeamCity copies a workspace folder, but apparently this is how it does things. Could that cause some problems here? (cm findchanged or cm findcheckouts lists no files in either folders).

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...