2 messages in com.perforce.perforce-userSaving the last n versions of a file
FromSent OnAttachments
Chas...@luna.com19 Mar 1999 18:47 
Patr...@manage.com22 Mar 1999 07:59 
Subject:Saving the last n versions of a file
From:Patr...@manage.com (Patr@manage.com)
Date:03/22/1999 07:59:20 AM
List:com.perforce.perforce-user

This would be useful on binaries... the sources I would want to keep forever....

Chas Schley wrote:

Is there any way to store only the most recent 5 (or 7, or N) versions of a file? It seems like Perforce is currently set up to store either all version, or only the latest (via a tempobj).

The only thing I could think of is to write a trigger that clones the file to file.1, file.2, ..., file.N, checks them all out, shifts them over by 1 and checks them all in. That's obviously an ugly hack, and I want no part of it :)

Ideas or suggestions from the collective consciousness? Thanks!

_chas_

Many people tell the story of the CEO of a software company who claimed that his product would be object-oriented because it was being written in C++ [Java, Smalltalk, MFC]. Some tell the story without knowing that it is a joke. -Adele Goldberg