[p4] Deleting all files in a depot

Mike lists at michael-amorose.com
Fri Jun 8 14:12:58 PDT 2007


Yeah, I pretty much want to wipe out everything including the histories, 
deleted files, etc. I am using this server as a test server and am 
playing around with adding new files in various ways as a test so I need 
to dump stuff over and over without any histories, etc being left in the 
depot.

Thanks,

Mike

Stephen Vance wrote:
> Do you want to throw out your history? If so, just delete the db and 
> depot files and start over (back up first just in case you regret it). 
> You may want to save off some metadata to reload, such as users, 
> protections, etc. I can dig out a sh script to do that if you need it.
> 
> If you just want to do a 'p4 delete' then map the whole server into a 
> workspace and do
> 
> p4 delete //...
> p4 submit
> 
> Steve
> 
> Mike wrote:
>> Is there an easy way to remove all files in a depot from the very top 
>> level down?
>>
>> I need to essentially reset my depot so that I can re-add the same 
>> files in the same locations again to the server.
>>
>> Thanks,
>>
>> Mike
>> _______________________________________________
>> 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