[p4] archiving old labels
Robert Cowham
robert at vaccaperna.co.uk
Mon Oct 1 08:04:31 PDT 2001
I have a script for auto saving labels in my area of the public depot, and I
think Sandy Currier also has a more generic one for saving clients etc.
Have a look.
Robert
> -----Original Message-----
> From: perforce-user-admin at perforce.com
> [mailto:perforce-user-admin at perforce.com]On Behalf Of Steve James
> Sent: Monday, October 01, 2001 04:35
> To: 'perforce-user at perforce.com'
> Subject: [p4] archiving old labels
>
>
> We have lots of old labels that I'd like to archive off and then delete.
> I'm thinking all the info needed to restore a label "foo" at a later time
> can be captured as:
>
> p4 label -o foo > foo.txt
> p4 files @foo >> foo.txt
>
> Am I missing anything?
>
> At a later time I'd like to make this archive process be able to handle
> branches, clients, users, and the protection table. Has anyone gone down
> this path already?
>
> It seems like the "restore" process could also be leveraged to implement
> versioning and revision history of p4 metadata (a feature that should be
> implemented by the core product IMHO). I'm particularly
> interested in this
> for branch specs and the protection table.
>
> - Steve
>
> _______________________________________________
> 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