I have created a python script which shows the local SVN status for model code (mdl and c files used to build a model). It shows local mods and optionally shows any pending updates from the SVN repository.
The script is called reportTargetCodeStatus.py, give it -h or --help to show usage
david.barker@sysadmin0: reportTargetCodeStatus.py --help
site is lho
usage: reportTargetCodeStatus.py [-h] [--showpending] targetname
Report status of all source code files associated with a given front end
target
positional arguments:
targetname the target to be reported
optional arguments:
-h, --help show this help message and exit
--showpending show code updates which are pending from the SVN repo
(requires kerberos ticket to be open)
david.barker@sysadmin0: reportTargetCodeStatus.py --showpending h1iscey
site is lho
target: h1iscey
showpending Program will slow while contacting svn repostory
Model last compiled: Tue Jun 3 10:52:58 2014
Model compiled using RCG: /opt/rtcds/rtscore/advLigoRTS-2.8.3
source file last modified svn_st Updates?
isc/common/models/LSC_END.mdl Thu Nov 14 16:56:17 2013 - -
isc/common/models/STATECOMM.mdl Thu Nov 14 16:08:57 2013 - -
isc/h1/models/h1iscey.mdl Tue Apr 29 17:51:56 2014 - -
isc/common/models/FILTBANK_TRIGGER.mdl Thu Nov 14 14:58:37 2013 - -
cds/common/src/wait.c Thu Apr 25 13:34:28 2013 - -
isc/common/models/ASC_END.mdl Thu Nov 14 16:56:17 2013 - -
cds/common/models/SCHMITTTRIGGER.mdl Thu Nov 14 14:50:26 2013 - -
cds/common/models/FILTBANK_MASK.mdl Thu Nov 14 14:50:26 2013 - -
isc/common/models/LSC_TRIGGER.mdl Thu Nov 14 14:58:38 2013 - U
isc/common/models/QPD.mdl Tue Mar 4 09:42:07 2014 - -
isc/common/models/ALS_END.mdl Tue Apr 29 09:52:21 2014 - U
isc/common/models/WFS.mdl Wed Dec 11 19:13:12 2013 - -
isc/common/src/RtCommunication.c Thu Nov 14 13:19:02 2013 - -