Jump to content
Sign in to follow this  
Scott B

Error "No checkout branch found." when saving file

Recommended Posts

I had a fully checked in project I wanted to apply a label to.  I accidentally clicked and created a branch instead.  I deleted the branch, and then correctly created the label.

I then made changes to a file. I tried to save the file (in Visual Studio), and received the error (but the file was saved).  The file does not show that it is checked out, and the Branch Explorer does not show that there are any outstanding changes.

I brought up the Plastic SCM program, and the Branch Explorer there DOES show that there are changes to be checked in.  If I try to check them in, I get the same error.

I haven't figured out a work around yet.  I can't move forward without checking in changes.

Any ideas?

Thanks, Scott


Share this post

Link to post
Share on other sites

Well, I found a way to fix it.  From the Plastic SCM program, I undid my changes, and then told it to switch my workspace to the current branch, even though that was already my workspace version.  After doing so, I no longer get the error.  

Share this post

Link to post
Share on other sites

Hi Scott,

We have just released  a new task that should be helpful in scenarios like yours:

All platforms - Plastic, Gluon: We improved the behavior when you have local changes and the changeset loaded in your workspace is deleted by a different user.

Before these improvements, this meant that you got stuck: at that point you were unable to checkin, shelve or undo your local changes.

We modified the client behavior to enable you to undo your local changes, letting you out of that loophole. Shelving or checking them in will still be unavailable, as they wouldn't have a parent changeset.

The 'undo' behavior will be slightly different depending on the client you use:

Gluon will always allow you to undo the local changes. If the original contents aren't available anymore, the head contents of the current branch will be used instead.

Plastic, on the other hand, will notify you about the inconsistency and then ask you for confirmation to undo all your local changes and update the current workspace.



Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...