If 'hg' found no changes it report error code 1. Ignore them as it is valid.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sat, 08 Sep 2012 18:48:13 +0300
changeset 39 fb55f2e84db1
parent 38 e2ca97beeec8
child 40 1c030a906e58
If 'hg' found no changes it report error code 1. Ignore them as it is valid.
Makefile
--- a/Makefile	Sat Sep 08 18:43:28 2012 +0300
+++ b/Makefile	Sat Sep 08 18:48:13 2012 +0300
@@ -64,7 +64,7 @@
 
 .PHONY: deploy2sf-hg
 deploy2sf-hg:
-	hg push ssh://gavenkoa@hg.code.sf.net/u/gavenkoa/tips
+	hg push ssh://gavenkoa@hg.code.sf.net/u/gavenkoa/tips || [ $$? = 1 ]
 
 ################################################################
 # Build targets.