obliterate


    obliterate -- Remove files and their history from the depot

    p4 obliterate [ -y -z ] file[revRange] ...

	Obliterate removes files and their history from the server in a
	way that they won't come back.  (See p4 delete for the non-
	destructive way to delete a file.)  It retrieves space used by those
	files in the archive and then clears the files from all lists
	maintained by the server.  Files in client workspaces are not
	affected, except that Perforce will no longer recognize them
	as being under its control.

	Obliterate carefully undoes the lazy copies made when p4 integrate
	creates a branch.  Because of this, it is possible that obliterating
	files will not recover any space.

	If the file argument has a revision, then only that revision is
	obliterated.  If the file argument has a revision range, then only
	the revisions in that range are obliterated.  See 'p4 help revisions'
	for help.

	The -y flag instruct obliterate to do its work.  Otherwise, it
	just displays what it would do.

	The -z flag restricts obliterate to undoing lazy copies.  It does
	not actually remove any files or metadata, but creates physical
	copies of previously lazy copies, and as such, is likely to increase
	space use on the server.  Use this on the source files to ensure that
	in the database no other files refer to the named files.

	'p4 obliterate' requires superuser access granted by p4 protect


        

Usage

Note that the following is incorrect: p4 obliterate depotname Rather, use the following: p4 obliterate //depotname/...