# HG changeset patch # User Christian Ebert # Date 1192636345 -7200 # Node ID 142b07dbe64127cd1ab260ec64facbae7bccfbf2 # Parent cb2b11e63906c056ffa5b8b51e7e5008f2e70a21 kwexpand/kwshrink: warn about nonexisting files diff -r cb2b11e63906 -r 142b07dbe641 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: