File devscripts-debcommit-hg16.diff of Package deb.900

--- devscripts-2.10.62/scripts/debcommit.pl.orig	2010-04-06 05:03:11.000000000 +0200
+++ devscripts-2.10.62/scripts/debcommit.pl	2010-07-29 23:36:07.000000000 +0200
@@ -577,7 +577,9 @@
     else {
 	die "debcommit: unknown program $prog";
     }
-    die "debcommit: commit failed\n" if (! $action_rc);
+    # mercurial 1.6 returns failure if nothing is to be committed
+    # but we still want to continue with tagging
+    die "debcommit: commit failed\n" if (! $action_rc) && (! $release);
 }
 
 sub tag {
openSUSE Build Service is sponsored by