Browse Source

[sde-commit] Changed message generation to use a heading [$pkg] text

karasz/new-early
Alejandro Mery 17 years ago
parent
commit
2c7f562081
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      lib/sde-commit/commit-message.awk

+ 3
- 3
lib/sde-commit/commit-message.awk

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# #
# Filename: lib/sde-commit/commit-message.awk # Filename: lib/sde-commit/commit-message.awk
# Copyright (C) 2006 - 2007 The OpenSDE Project
# Copyright (C) 2006 - 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project
# #
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
@ -22,9 +22,9 @@ BEGIN { FS="[ /]" }
/^\+\[V\] / { /^\+\[V\] / {
newver=$2 newver=$2
if ( oldver ) if ( oldver )
print "Updated " pkg " (" oldver " -> " newver ")"
print "[" pkg "] Updated (" oldver " -> " newver ")"
else { else {
print "Added " pkg " (" newver ")" info
print "[" pkg "] Added " pkg " " newver " - " info
} }
oldver="" ; newver="" ; info="" oldver="" ; newver="" ; info=""
} }

Loading…
Cancel
Save