Index: scripts/unify-sources.sh
===================================================================
--- scripts/unify-sources.sh	(revision 628)
+++ scripts/unify-sources.sh	(revision 655)
@@ -7,4 +7,8 @@
     if [ -n "$(hg st $1)" ]; then
         echo $YEAR
+    else
+        hg log -l 1 --template='{date|isodate}\n' $1 |
+        cut -d '-' -f 1
+    fi
 }
 
