Reputation: 31003
How do I remove old copies of edited/submitted p4 files: edited_this_already.ext~
?
I can remove them via Unix command, but can p4 do this?
Thanks!
Upvotes: 2
Views: 436
Reputation: 16359
Depending on which editor you use, you can probably configure the editor so that it does not make these backup files. For example, with 'vim', use ':set nobackup' in your startup script (or, if you want Vim to make the backup files, but put them somewhere else, try ':set backupdir').
Upvotes: 1
Reputation: 137158
If it's not in the depot under source control then Perforce doesn't know anything about the file so it can't delete it.
You're safe to use the OS commands to delete the files.
Upvotes: 3