--- a/mercurial/scmutil.py Wed Jan 25 19:41:34 2012 +0100
+++ b/mercurial/scmutil.py Wed Jan 25 17:14:08 2012 -0600
@@ -10,6 +10,14 @@
import match as matchmod
import os, errno, re, stat, sys, glob
+def nochangesfound(ui, secretlist=None):
+ '''report no changes for push/pull'''
+ if secretlist:
+ ui.status(_("no changes found (ignored %d secret changesets)\n")
+ % len(secretlist))
+ else:
+ ui.status(_("no changes found\n"))
+
def checkfilename(f):
'''Check that the filename f is an acceptable filename for a tracked file'''
if '\r' in f or '\n' in f: