[Pkg-ocaml-maint-commits] [SCM] dh-ocaml packaging branch, master, updated. debian/0.9.0-11-gb6f9afb

Stephane Glondu steph at glondu.net
Wed Oct 14 23:33:01 UTC 2009


The following commit has been merged in the master branch:
commit b6f9afb65ddded36937c5b259a10fe7ddd8b6b27
Author: Stephane Glondu <steph at glondu.net>
Date:   Thu Oct 15 01:29:36 2009 +0200

    dom-new-git-repo: issue a warning when nothing is pushed

diff --git a/debian/changelog b/debian/changelog
index eec8d60..0403015 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,8 +4,9 @@ dh-ocaml (0.9.1) UNRELEASED; urgency=low
   * dh_ocamldoc: fix typo in regexp (Closes: #549939)
   * dh_ocaml: better error when /usr/lib doesn't exist in a relevant
     binary package
-  * dom-new-git-repo: cope with new scheme of example hooks with recent
-    versions of git
+  * dom-new-git-repo:
+    - cope with new scheme of example hooks with recent versions of git
+    - issue a warning when nothing is pushed
 
   [ Mehdi Dogguy ]
   * Don't pass --nodefined-map to ocaml-lintian
diff --git a/tools/dom-new-git-repo b/tools/dom-new-git-repo
index a779d8d..590cf67 100755
--- a/tools/dom-new-git-repo
+++ b/tools/dom-new-git-repo
@@ -84,6 +84,7 @@ elif git show-ref --quiet 2>/dev/null ; then
   setup_notifications
 else
   setup_notifications
+  echo "W: nothing pushed!"
 fi
 
 

-- 
dh-ocaml packaging



More information about the Pkg-ocaml-maint-commits mailing list