Utils.Perforce
class Utils.Perforce
Contains methods that generate various .bat scripts that you can use to either synchronize directories or check in PDF files.Method Inventory
Methods
Utility method used in this class and used by Utils.Munge.
Returns a %LIST of all the directories on the DocBook search path
that are within the Perforce directory structure.
If getMeta is 1, the list also contains the associated doc/meta directories.
Generates a .bat script that synchronizes the target PDF directories appropriate for
the source files on the current search path.
If force=1, we use P4 sync -f rather than P4 sync.
classmethod WriteSyncLine(file As %Library.File, syncdir As %String = "", force As %Boolean = 0, forTechServices As %Boolean = 0)
classmethod WriteSyncVersScript(verbose As %Integer = 0, force As %Boolean = 0, forTechServices As %Boolean = 0)
Generates a .bat script that synchronizes all doc directories on the current search path
If force=1, we use P4 sync -f rather than P4 sync.
if forTechServices=1, we generate a script for Tech Services instead.
classmethod WriteSyncVersScripts(verbose As %Integer = 0)