Limiting the number of post revisions

How is this done? I had it set up prior to my new install, but cannot remember what I did.