Hi,
I wish there was a way to mark lines of code as “do not check in”, so that I don’t miss the change and revert it during checkin. For small checkins, this isn’t a problem, but really large ones, it’s easy to miss a change that I made purely to force some value so I could test my new feature. This value would always be set when playing the game normally, but jumping directly into a scene might not work - so that’s why I have this theoretical change.
It would just be nifty if there could be some coded comment that Plastic sees and throws a warning, and denies the checkin until we remove that coded comment, or undo the change. It could even be as simple as:
//DO_NOT_CHECK_IN
... some code here
... some code there
… where it just points us to the line of code with the comment, and tells us to resolve whatever we did there. We could add an explanation after DO_NOT_CHECK_IN to remind ourselves etc.
I could probably make a feature for this. Just wanted to see if it could be part of PlasticSCM.