Display file rev in window header
Problem
I would like display the file revision rather than the changelist number in the window header (p4 only):
Solution
The 'VSC_DISPLAY_FILEREV' variable can be used to control the display of the file revision rather than the changelist:
;;;---------------------------------------------------------------------------- ;;; Use file revisions instead of changelist numbers in window header (p4 only) ;;; - valid only if VSC_DISPLAY_WINHEAD is set ;;; ;;; nil - show the changelist number in the window header ;;; t - show the revision of the cellview master file in the window header ;;; ;;; VSC_DISPLAY_FILEREV: Dynamic ;;;---------------------------------------------------------------------------- ;; VSC_DISPLAY_FILEREV = t
'VSC_DISPLAY_FILEREV' is set in the 'versic.conf' file located under the path specified by the 'VSC_CONFIG_DIR' environment variable.