forked from pool/devscripts
2835190ce2
- Update to version 2.18.10. OBS-URL: https://build.opensuse.org/request/show/662123 OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/devscripts?expand=0&rev=16
14 lines
417 B
Diff
14 lines
417 B
Diff
--- 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 {
|