get the revision number of a specific file in perforce from a python script -
i'm trying write python script run when maya loads. script should check number stored in file somewhere, perchance names object, , compare latest revision of file in perforce.
if number stored in maya not latest revision, should show warning. possible?
to inquire if contents of file on workstation matches content of current head revision of file on server, can 'p4 diff -f //depot/path/to/file#head'.
python perforce maya
No comments:
Post a Comment