Commits

camlspotter committed 7738320

message simplification

  • Participants
  • Parent commits bc5142e

Comments (0)

Files changed (1)

                  .format(short(repo['tip'].node())))
         uncommitted = len(repo.status()[0])  # num. of uncommitted files
         if cdtip == repo['tip'] and uncommitted == 0:
-            ui.write("there is nothing to push.\n")
             return 1
         num_changes = repo['tip'].rev() - cdtip.rev()
         if num_changes > 0:
-            ui.write("{0} changes to be pushed.\n"
+            ui.write("{0} changes to push.\n"
                      .format(num_changes))
         if uncommitted:
-            ui.write("{0} uncommitted files in "
-                     "working directory.\n".format(uncommitted))
+            ui.write("{0} uncommitted files\n" .format(uncommitted))
         return 0
     else:
         ui.write(