[p4] Regd File Deletion(s).
Chuck Karish
karish at well.com
Fri Jul 6 17:18:35 PDT 2001
At 03:09 PM 7/6/2001 -0700, Ganesh Kondal wrote:
>Hi All,
>
> I understand that perforce wont remove the files just by making "p4
>delete". It needs p4 obliterate -y .. to take out the whole revision tree.
Just delete them. The old deleted names don't get in the way.
>What is the normal procedure followed in case of deletion.
p4 delete
>Its very
>possible that the users deleting the files then & there - b'coz of the move
>or renaming or etc.. (assuming most of them needs to removed as a whole -
>including its revisions).
If you obliterate the files under their old names, 'p4 filelog -i' won't give you
their full revision histories.
>Is there any super user command to look for all the files present in the
>depot eventhough its last/latest revision is deleted - so at any point super
>user will have the ability to identify files that are not getting used for a
>longer period of time..-to erase.
p4 files //depot/... | grep -i delete
Leave well enough alone. The point of having your files under change
control is that you can reconstruct a previous state of any file at any time.
Once you start obliterating files you lose that capability.
Chuck Karish karish at well.com (415) 317-0182
More information about the perforce-user
mailing list