# HG changeset patch # User Alpar Juttner # Date 1241796066 -3600 # Node ID c706534d474080f6b8b17aca5ebba9b129815b73 # Parent a312f84d86c660bb4db35514d3d8c7b2107df7e2 Fix the faulty merge of unify-sources.sh in [586b65073025] diff -r a312f84d86c6 -r c706534d4740 scripts/unify-sources.sh --- a/scripts/unify-sources.sh Fri May 08 13:15:29 2009 +0200 +++ b/scripts/unify-sources.sh Fri May 08 16:21:06 2009 +0100 @@ -6,6 +6,10 @@ function hg_year() { if [ -n "$(hg st $1)" ]; then echo $YEAR + else + hg log -l 1 --template='{date|isodate}\n' $1 | + cut -d '-' -f 1 + fi } # file enumaration modes