Code covered by the BSD License  

Highlights from
SVN Profiling

Be the first to rate this file! 2 Downloads (last 30 days) File Size: 7.1 KB File ID: #32486

SVN Profiling

by

 

10 Aug 2011 (Updated )

Read data from files tagged with an SVN keyword

| Watch this File

File Information
Description

These functions read and process data embedded in files using the SVN keywords property. Use the functions to:
> read a desired keyword from a specified file;
> build a profile from many folders of source code, using any number of keywords;
> identify the most recently committed file (head revision).

This is useful for building an audit trail for your code, or identifying the version used to generate a particular data set. For example, the output of build_svn_profile can be inserted into a results .mat file to quickly establish versions of every file used to generate the results.

MATLAB release MATLAB 7.12 (R2011a)
Other requirements Code should be version controlled using Subversion, with keyword(s) embedded in files.
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Updates
11 Aug 2011

Some bug fixes and some improved functionality: build_svn_profile.m additionally outputs the file name and path alongside the keyword data for each searched file, multiple keywords are supported; get_contents.m additionally outputs a directory flag.

11 Aug 2011

Removed sort (output is sufficiently sorted). Crop of keyword data made less strict, so that the keyword is included in the output.

17 Aug 2011

Corrected spelling mistakes in help comments. Added requirement.

31 Aug 2011

read_svn_keyword: fixed a small bug regarding the identification of the second '$'. build_svn_profile: changed output format to add columns for each keyword. Added string output. Added add_ps_comments.m for adding comments to PostScript file.

18 Jan 2012

Numerous improvements and fixes, including a recursive option and updated documentation

01 Feb 2012

Added head_rev function, minor updates to documentation.

25 Apr 2013

Simplified GET_CONTENTS interface. See http://www.mathworks.com/matlabcentral/fileexchange/30835-getcontents.

03 Jun 2013

Replaced GET_CONTENTS with latest version. Removed ADD_PS_COMMENTS - work in progress. Updated description.

Contact us