#! python import P4 import sys p4 = P4.P4() p4.connect() for file in p4.run_fstat("-Oa", sys.argv[1]): print "checking %s" % file["depotFile"] for key in file: print "checking key %s" % key if "attr-" in key: attr = key.replace("attr-", "") print "removing attribute %s (%s)" % (attr, file[key]) p4.run_attribute("-f", "-n", attr, file['depotFile'] + "#" + file['headRev']) p4.disconnect()
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#2 | 7245 | Sven Erik Knop | Deleted unnecessary extra tools. | ||
#1 | 7169 | Sven Erik Knop |
Submitted the p4bucket script and its documentation to the public depot. Please see the attached P4Bucket.pdf and "P4Bucket Presentation.pdf" for details on this tool. |