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 1366 c57cd27e840e
parent 1365 bad6ccb0cf56
child 1367 b36747c6a74e
If 'hg' found no changes it report error code 1. Ignore them as it is valid.
Makefile
--- a/Makefile	Thu Sep 06 23:46:11 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.