Perforce scripts to fill in features lacking from client or command line.
Go to file
leetNightshade e5a84235cb Fix issue where clientRoot is null due to multiple view mappings that
don't share one root. TODO: should probably leave getClientRoot to
return the "null". It's different than returning None.
2017-04-20 16:20:43 -07:00
.gitignore Fixed up path limitation issue with p4. 2015-06-08 14:50:07 -06:00
README.md Split scripts up for now, may add all in one scripts later. Added 2015-02-18 15:09:57 -07:00
p4Helper.py Fix issue where clientRoot is null due to multiple view mappings that 2017-04-20 16:20:43 -07:00
p4RemoveUnversioned.py Fixed scripts up, improved logging so console has a waking thread now. 2015-05-13 12:06:54 -06:00
p4Sync.py Fixed comparison issue, apparently had to make sure the number was an int. 2015-06-09 10:15:00 -06:00
p4SyncMissingFiles.py Fixed up path limitation issue with p4. 2015-06-08 14:50:07 -06:00

README.md

p4Tools

Removes unversioned files from perforce repository. Script is in beta, works well, but still going through continued testing. There are a few stats at the end, will be putting in more, like number of files/directories checked, so you have an idea how much work was required.

Concerning benchmarks: I used to have a HDD, now a SSD. So I can't provide valid comparisons to the old numbers until I do them on a computer with a HDD. That said, this single worker implementation runs faster than the old multi-threaded version. Can't wait to further update it, will only continue to get faster.

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. I need to re-add this to the newer script.

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