Commits

camlspotter committed 69561eb

explicit return values of cout

Comments (0)

Files changed (1)

             if uncommitted:
                 ui.write("and there are {0} uncommitted files in "
                          "working directory.\n".format(uncommitted))
+            return 0
     else:
         ui.write(
             "the tip ({0}) on dest ({1}) is not in current "
             "local repository.\n"
             "you might want to pull the changes.\n"
             .format(short(cdid), dest))
+        return 0
 
 
 def postpushhook(ui, repo, dest=None, **kwargs):