# HG changeset patch # User Alpar Juttner # Date 2009-05-08 17:21:06 # Node ID c706534d474080f6b8b17aca5ebba9b129815b73 # Parent a312f84d86c660bb4db35514d3d8c7b2107df7e2 Fix the faulty merge of unify-sources.sh in [586b65073025] diff --git a/scripts/unify-sources.sh b/scripts/unify-sources.sh --- a/scripts/unify-sources.sh +++ b/scripts/unify-sources.sh @@ -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