Jump to content

How to undo checkout


Soho

Recommended Posts

Hi,

I am a bit confused about the state of this file in pending changes.

post-251-0-42607200-1318936679_thumb.png

The status is "Controlled / Changed"

I don't want to check any changes in (I don't know how the .suo file crept into source control in the first place), but the context menu does not provide options for undoing checkout.

I am also confused that I can both check out and check in the file in the context menu.

Why is that and how should I undo checkout for this file?

Link to comment
Share on other sites

Hello Soho,

Having the .suo inside the version control system is not a good idea.

http://social.msdn.microsoft.com/forums/en-US/vssourcecontrol/thread/dee90d75-d825-4c76-a30f-016eab15ef7f

http://stackoverflow.com/questions/72298/should-i-add-the-visual-studio-suo-and-user-files-to-source-control

PlasticSCM Visual Studio plugin doesn't add this type of files by its own.

So the best thing you can do is to remove the file from PlasticSCM (keeping it in disk) and continue working as a private file.

The status is "Controlled / Changed" due to it's under PlasticSCM control but it has been changed without doing it a checkout. I'm sure Visual Studio did it. You can learn more about files status at: http://www.plasticscm.com/releases/3.0.1/manuals-html/en/userguide.htm#_Toc280187955

To undo this change you can update it forced or checkout it and then undo checkout it.

Once it's controlled again remove it from the system, you will save a lot of headaches :P

Regards,

manu

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...