[p4] Shelf script.

Jeff Grills jgrills at drivensnow.org
Mon May 14 10:56:39 PDT 2007


I have some scripts which can do this, located in the public perforce depot
(public.perforce.com).  They're in //guest/jeff_grills/p4tar/... if you'd
like to check them out.  They are perl scripts and currently require a
unix-ish environment, but in windows you can use cygwin.  They're also
relatively hackable if you'd like to make them fit your current environment.
I do have some plans to make these scripts less dependent on things other
than perl, but I just haven't had the time to do so yet.

j

-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Jim Tilander
Sent: Saturday, May 12, 2007 4:42 PM
To: perforce-user at perforce.com
Subject: [p4] Shelf script.


Some revision systems have a nifty feature to "shelf" work, i.e. store the
entire state of the client and save it off somewhere to allow you to restore
to that point again after doing various operations. This comes especially in
handy when you only have one clientspec and you are working on one thing,
but you need to interrupt your work and fix some emergency bug.

Does anyone know of any existing scripts that does this? I was thinking of
writing one of my own, but I lack one thing, I would like to query the
server for my client's state, i.e the revisions of the files locally that I
have. Preferably this list would be a changelist number + any diffs I might
have (e.g. synced individually to any special revisions).

Cheers,
Jim Tilander

-- 
Beware of architect astronauts.
_______________________________________________
perforce-user mailing list  -  perforce-user at perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user



More information about the perforce-user mailing list