diff -r 189760a7cdd0 -r c01a98ce01fd scripts/unify-sources.sh --- a/scripts/unify-sources.sh Thu May 07 02:05:12 2009 +0200 +++ b/scripts/unify-sources.sh Tue May 12 12:09:55 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