revert


    revert -- Discard changes from an opened file

    p4 revert [ -a -c changelist# ] file ...

	Revert an open file back to the revision previously synced from
	the depot, discarding any pending changelists or integrations that
	have been made.  This command requires naming files explicitly.
	After running revert the named files will no longer be locked
	or open.

	The -a flag tells 'p4 revert' to revert only those files which
	are opened for edit or integrate and are unchanged or missing.
	Files with pending integration records are left open.  With the
	-a flag, the file arguments are optional.

	The -c flag limits 'p4 revert' to files opened under the given,
	pending changelist.