Actions
bug #6190
closedremove svn property place holder in first line of code
Status:
Closed
Priority:
Priority14
Assignee:
Category:
cdmlib
Target version:
Start date:
Due date:
% Done:
100%
Estimated time:
Severity:
normal
Found in Version:
Description
The first line of almost each java code file is a special place holder '// $Id$' which was meant to be replaced by the svn revision number.
This is no longer useful and should be removed.
The removal of the lines in question has been done with the following scripts:
code-cleanup.sh
#!/bin/bash TMPF=cleanup.tmp FILE_PATTERN="*.java" # inc|module|install|php|info)" TARGED_FOLDER=$1 find $1 -type f -name "$FILE_PATTERN" -not -path '*/.*' -exec bash -c './svn-prop-remove.awk $1 > cleanup.tmp && mv cleanup.tmp $1' - {} \;
svn-prop-remove.awk
#!/usr/bin/awk -f
BEGIN {
}
NR==1 && $0 !~ /^\/\/ \$Id/ {print $0}
NR>1 {print $0}
Updated by Andreas Kohlbecker about 7 years ago
- Subject changed from remove svn property placehoder in first line of code to remove svn property place holder in first line of code
Updated by Andreas Müller about 7 years ago
This can now be done automatically as model changes are fully merged into develop now.
Updated by Andreas Kohlbecker almost 7 years ago
- Description updated (diff)
- Status changed from New to Closed
Actions