[p4] Deleting all files in a depot

Stephen Vance steve at vance.com
Fri Jun 8 06:25:26 PDT 2007


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