Perforce scripts to fill in features lacking from client or command line.
Go to file
Brian d3fdef1342 Removed thread shutdown print, and bumped up thread count.
I haven't yet determined a good number of threads to use, we'll see.

Also have to change how the directories are being handled, kind of a
waste to push every directory to the queue, would be faster if the
batches were bigger.

I also still have to work on using fstat across a tree, this will bring
super speed ups.  Output is a bit different, parsing is more complex and
how we handle things will be a bit different.
2014-05-09 11:25:53 -06:00
README.md Update README.md 2014-05-08 19:25:48 -06:00
p4RemoveUnversioned.py Removed thread shutdown print, and bumped up thread count. 2014-05-09 11:25:53 -06:00

README.md

p4RemoveUnversioned

Removes unversioned files from perforce repository. Script is in beta, though it works. It will be undergoing changes to add thread support to see how much we can speed up searching; depends a lot on your storage device. I will then also try seeing if I can reduce the calls to fstat a bit, it will be a bit more complicated.

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.