kwexpand/kwshrink: warn about nonexisting files
authorChristian Ebert <blacktrash@gmx.net>
Wed, 17 Oct 2007 17:52:25 +0200
changeset 276 142b07dbe641
parent 275 cb2b11e63906
child 277 c848b8e3089a
kwexpand/kwshrink: warn about nonexisting files
hgkw/keyword.py
--- a/hgkw/keyword.py	Wed Oct 17 17:51:36 2007 +0200
+++ b/hgkw/keyword.py	Wed Oct 17 17:52:25 2007 +0200
@@ -350,6 +350,10 @@
                     break
             if not f in files and match(f) and _iskwfile(ui, man, f):
                 files.append(f)
+        ffiles = fdict.keys()
+        ffiles.sort()
+        for f in ffiles:
+            ui.warn(_('%s: No such file\n') % f)
         # 7th argument sets commit to False
         _overwrite(ui, repo, files, ctx.node(), man, expand, False)
     finally: