From 0c4d85c13dae7e8f83c10fa0ebfc51bfb48d0782 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 21 Apr 2009 06:08:57 +0000 Subject: [PATCH] Exit unsuccessfully when in commit mode and nothing is found to commit. Thanks to Jeremy Olexa for the suggestion. svn path=/main/trunk/; revision=13379 --- bin/repoman | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/repoman b/bin/repoman index 9d1185746..95a05119a 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1900,7 +1900,7 @@ else: print print "(Didn't find any changed files...)" print - sys.exit(0) + sys.exit(1) # Manifests need to be regenerated after all other commits, so don't commit # them now even if they have changed. -- 2.26.2