Change | User | Description | Committed |
---|---|---|---|
7389 | Sam Stafford | Quote the "p4 dirs" argument just in case it has spaces. | 16 years ago |
7386 | Sam Stafford | Add $dirs variable to protexp.pl trigger. This is to reduce multiple wildcard usa...ge in protections tables; a line like: write group * //depot/*/bin/... can be rewritten as: write group * $dirs(//depot/*)/bin/... and expanded by the trigger to: write group * //depot/A/bin/... write group * //depot/B/bin/... write group * //depot/C/bin/... « |
16 years ago |
7342 | Sam Stafford | A little bit of rearranging to open the possibility of adding new variables to expand.&nb...sp; No functional change. « |
16 years ago |
7290 | Sam Stafford | Fix typo in comments. | 16 years ago |
7289 | Sam Stafford | Inspired by a thread on perforce-user the other day, here is a trigger that enables varia...ble expansion in the protection table. If we were to install this in the Public Depot and it worked correctly, we could replace about 95% of our (user-visible) protection table with the single line: write user $user(registered) * //guest/$user/... In my limited testing so far it seems to work pretty nicely, but I wouldn't put it in production just yet. « |
16 years ago |