[p4] Usefulness of labeling deleted files?
Bennett, Patrick
Patrick.Bennett at inin.com
Mon Jul 23 11:21:31 PDT 2007
Let's put it this way: Does your have list know if you've synced a
deleted revision? Of course, it has to.
A label has to be the same way.
If it followed your model, then syncing to a label that didn't contain
certain files should remove the files missing from the label from your
local client.
There's no way to know if a file missing means the file shouldn't be
touched (simply not a member of the label), or if it should be removed.
By being able to specifically label a delete revision, there's no
confusion here.
Patrick
-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Jay Glanville
Sent: Monday, July 23, 2007 12:49 PM
To: Perforce Users Mailing List
Subject: [p4] Usefulness of labeling deleted files?
Hello all.
I was recently reviewing some of the labels on my system. One of the
things I noticed was that many of my labels contain deleted files.
Now, the major reason I use labels is to be able to recreate some of my
important loadbuilds. Labeling a deleted file doesn't really help
achieve this. I mean, if I need file //depot/path/to/a.c#3, but not
//depot/path/to/b.c#4 (where #4 is the deleted revision), then why not
just have a.c#3 in the label? Why tag both of these entries?
Why am I asking? I have many static labels. Each of these labels can
contain upwards of 60k files. Due to history, these labels contain 1/3
deleted files. If I was only labeling the non-deleted files, I could
reduce the size of these labels down to 40k.
For example, if I had 100 static labels at 60k each, that's 60 million
entries in the db.labels file. If I was only labeling non-deleted
files, then I could reduce this number to 40 million entries. That
would help reduce the load on the server whenever I was dealing with
labels.
So, I guess I'm not actually asking a question, I'm just pondering out
loud ....
JDG
---
Jay Dickon Glanville
_______________________________________________
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