Updated readme, added warning, also figured out I'm not parsing p4ignore correctly.

This commit is contained in:
Brian 2014-05-08 15:44:26 -06:00
parent 32aaab1578
commit e2d660e486
1 changed files with 4 additions and 0 deletions

View File

@ -2,3 +2,7 @@ p4RemoveUnversioned
===================
Removes unversioned files from perforce repository. Script is in beta, and needs to undergo a partial re-write for super speed improvements. Right now doing individual p4 fstat calls, when it should be done on an entire directory.
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](http://www.perforce.com/perforce/r12.1/manuals/cmdref/env.P4IGNORE.html), since it's not straight up regex.
**Files are currently permanently deleted, so use this at your own risk.**