File devscripts-debcommit-hg16.patch of Package devscripts

--- a/scripts/debcommit.pl
+++ b/scripts/debcommit.pl
@@ -663,7 +663,9 @@ sub commit {
     } 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