What code convetion do you use?

Started by
20 comments, last by Fenrisulvur 14 years, 2 months ago
I was trying to see if Perforce supported such a feature, where you could modify code before it was submitted using a custom app/script (in a similar vein to its RCS keyword expansion), but alas there are no triggers that let you modify files before they're submitted. You can, however, fail the submission of a changelist if any files doesn't meet the coding standards/guidelines/conventions. But that's a little Draconian for my tastes :) You could also just send out an embarrassing e-mail!
Advertisement
I drew upon this a while ago, from memory.

This topic is closed to new replies.

Advertisement