Jump to content
Sign in to follow this  
einzero

Why before-clientcheckout trigger is invoked when I undo auto-detected changed files?

Recommended Posts

Hello,  I'm using plasticscm 8.0.16.3400 version.
I have a question about the before-clientcheckout trigger.

When I undo changed files (which is not explictly checked out,  they are automatically detected as changed) before-clientcheckout trigger is always invoked.
All I want to do is just undo changed files, why that trigger is invoked? 

It seems to be a programmatic issue, but it's very strange invoking before-clientcheckout trigger by undo changed files.
(Actually before-clientcheckout trigger is not invoked when I undo explictly checked out files.)

So I wonder if there is a way around this issue.

Thank you for reading my question.

 

Share this post


Link to post
Share on other sites

Hi,

The thing is when you are undoing changes, Plastic internally promotes them first to checkout and that's why the trigger is invoked. We should protect this scenario to avoid the "before-clientcheckout" triggers to be run in this scenario.

Sorry for the inconveniences,

Carlos.

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.

Guest
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.

Loading...
Sign in to follow this  

×
×
  • Create New...