[p4] Deletion of a branch
Brad Holt
brad.holt at autodesk.com
Thu Mar 8 21:05:30 PST 2007
Hi Ram,
You probably first need to define what you mean by "delete".
If you just want the head revision (the latest revision) to represent a
delete, then you'll just want to check out each file for delete and
submit. This can easily be done at the folder level. This will
essentially prevent the file from being edited by the other users, and
if synced to it will remove it from their system (likely the preferred
behavior), and the revision history will remain intact. The files can
be "undeleted" later if that is wanted.
The other options are less at the user level and more of an admin thing.
There is a way to get rid of the branch as if it never existed, but I
don't want to go into that unless this is really what you want, as it
can be quite dangerous and irreversible. I'd recommend you get more
familiar with p4 before going that route. A good general rule of thumb
for source control is to not get rid of old work just because you think
you're done with it. The revision histories can come in handy, and you
never know when you may need an old set of revisions for something. If
you really want the branch hidden, then you can use the protections to
hide it for now. Nobody but you and an admin will know it is even there
and it's completely harmless.
-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of R K
Sent: Thursday, March 08, 2007 7:48 PM
To: perforce-user at perforce.com
Subject: [p4] Deletion of a branch
Hi everyone . This is Ram .
I am new user to Perforce .I have a query about branches .
Does anyone know how a branch is deleted from the depot itself ie.
there
should be no files under that branch ?
Regards
Ram
_______________________________________________
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