sschoellhammer Posted May 30, 2018 Report Share Posted May 30, 2018 Hello there, I'm totally new to plastic so please forgive any stupid questions. We'd like to use plastic for our source assets (maya etc). Is there a way of write-protecting workspace files and unlock them only when the user checks them out? I know p4 is working that way. i.e - check out directory /characters/character1, making all those files writable - revert unchanged - commit Or how else can I get artists to checkout everything before they start working? :) Thanks, seb Link to comment Share on other sites More sharing options...
psantosl Posted May 30, 2018 Report Share Posted May 30, 2018 Hi! Yes, you can configure plastic to set all files as readonly on your working copy (they can always override that, but it helps). How: Or: configure writable.conf or readonly.conf: https://www.plasticscm.com/documentation/gui/plastic-scm-version-control-gui-guide.shtml#TheOtherOptionsTab pablo Link to comment Share on other sites More sharing options...
sschoellhammer Posted May 30, 2018 Author Report Share Posted May 30, 2018 Oh this is great! Thanks for the heads-up and quick reply! Link to comment Share on other sites More sharing options...
sschoellhammer Posted May 31, 2018 Author Report Share Posted May 31, 2018 Is there a way to bulk-undo a checkout if there is no change? So that I can just select all my checked out files and only commit what I've actually changed. If there is a better workflow, please let me know as well but this what I used to do with P4 Link to comment Share on other sites More sharing options...
manu Posted June 5, 2018 Report Share Posted June 5, 2018 Hi @sschoellhammer, you can use the following command: cm uncounchanged . -R It will undo those items that are checked-out but they are not really having changes. But, notice Plastic will never create a new file revision with the same file content as the previous one, so even if you have a checked-out item without changes, if you check it in the Plastic SCM server will notice it's unchanged and will skip the checkin operation for it, the undo-checkout will occur for that file and the pending changes view will be cleared. Link to comment Share on other sites More sharing options...
sschoellhammer Posted June 5, 2018 Author Report Share Posted June 5, 2018 Hi Manu, thanks! Yes I noticed only changed files make it into the commit. It would be kind of nice to have that command in the UI for gluon.. seb Link to comment Share on other sites More sharing options...
manu Posted June 7, 2018 Report Share Posted June 7, 2018 Hi @sschoellhammer, I've been reviewing and the idea is not added yet so you are kindly requested to add the suggestions to our user voice site: https://plasticscm.uservoice.com/forums/15467-general You'll notice we hear our users DONE: https://plasticscm.uservoice.com/forums/15467-general/suggestions/13468278-add-undo-unchanged-files-to-macplastic DONE: https://plasticscm.uservoice.com/forums/15467-general/suggestions/2470962-option-to-undo-checkouts-for-unchanged-files DONE: https://plasticscm.uservoice.com/forums/15467-general/suggestions/3131460-add-an-undo-pending-changes-option-to-the-contex DONE: https://plasticscm.uservoice.com/forums/15467-general/suggestions/34047673-don-t-show-files-in-pending-changes-that-have-not Link to comment Share on other sites More sharing options...
sschoellhammer Posted June 7, 2018 Author Report Share Posted June 7, 2018 Nice to see Actually this is exactly what I'm talking about: https://plasticscm.uservoice.com/forums/15467-general/suggestions/2470962-option-to-undo-checkouts-for-unchanged-files Maybe the question of the initial poster was misunderstood? I can make a new question or you can open that back up? Link to comment Share on other sites More sharing options...
manu Posted June 7, 2018 Report Share Posted June 7, 2018 That one was actually requested for Plastic SCM (plastic.exe) not Gluon as it was not created yet ? So if you want to can create a new idea referencing that one if you want as you basically want the same thing but in Gluon. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.