# HG changeset patch # User Christian Ebert # Date 2010-03-16 21:27:22 # Node ID 2df04488869329c563da00c29e6ef5b846b9ef56 # Parent 61c52fedbd45c0bc486179af93209d8d5d6fe4e3 keyword: do not customize ui.note() when overwriting Behaviour change: hg commit --verbose now prints out the names of the files which are overwritten. diff --git a/hgext/keyword.py b/hgext/keyword.py --- a/hgext/keyword.py +++ b/hgext/keyword.py @@ -168,9 +168,6 @@ class kwtemplater(object): mf = ctx.manifest() if node is not None: # commit files = [f for f in ctx.files() if f in mf] - notify = self.ui.debug - else: # kwexpand/kwshrink - notify = self.ui.note candidates = [f for f in files if self.iskwfile(f, ctx.flags)] if candidates: self.restrict = True # do not expand when reading @@ -189,7 +186,7 @@ class kwtemplater(object): else: found = self.re_kw.search(data) if found: - notify(msg % f) + self.ui.note(msg % f) self.repo.wwrite(f, data, mf.flags(f)) if node is None: self.repo.dirstate.normal(f)