Perforce scripts to fill in features lacking from client or command line.
Go to file
U-ILLFONIC\bernst 06b0cbe426 Adding huge improvements. There are still a few more to make to account for computers not setup correctly, but it's functional. Still has the occasional console hang bug. Now also prints out run time. There is one new minor bug, reverting back to the previously set client view. 2014-08-13 17:09:19 -06:00
README.md Update README.md 2014-05-09 12:23:56 -06:00
p4RemoveUnversioned.py Adding huge improvements. There are still a few more to make to account for computers not setup correctly, but it's functional. Still has the occasional console hang bug. Now also prints out run time. There is one new minor bug, reverting back to the previously set client view. 2014-08-13 17:09:19 -06:00
python2.7.exe.stackdump Catch except in file iteration so you can continue processing remaining files. 2014-05-09 15:21:56 -06:00

README.md

p4RemoveUnversioned

Removes unversioned files from perforce repository. Script is in beta, though it works. It's a little slow due to the way fstat is used, but that will be changed soon, so the speed up should be enormous once that's done, up to 100x or more.

This script does parse .p4ignore ignore files, compiles the fields as regex, and scans every directory and file against the local and parent .p4ignore files. This is my first time doing something like this, and I just realized this isn't actually correct; I need to update how things are ignored to follow the spec, since it's not straight up regex.

Files are currently permanently deleted, so use this at your own risk.