Jump to content

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


einzero

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.

 

Link to comment
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.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...