hgkw/keyword.py
changeset 276 142b07dbe641
parent 275 cb2b11e63906
child 277 c848b8e3089a
equal deleted inserted replaced
275:cb2b11e63906 276:142b07dbe641
   348                         files.append(ff)
   348                         files.append(ff)
   349                     del fdict[ff]
   349                     del fdict[ff]
   350                     break
   350                     break
   351             if not f in files and match(f) and _iskwfile(ui, man, f):
   351             if not f in files and match(f) and _iskwfile(ui, man, f):
   352                 files.append(f)
   352                 files.append(f)
       
   353         ffiles = fdict.keys()
       
   354         ffiles.sort()
       
   355         for f in ffiles:
       
   356             ui.warn(_('%s: No such file\n') % f)
   353         # 7th argument sets commit to False
   357         # 7th argument sets commit to False
   354         _overwrite(ui, repo, files, ctx.node(), man, expand, False)
   358         _overwrite(ui, repo, files, ctx.node(), man, expand, False)
   355     finally:
   359     finally:
   356         del wlock, lock
   360         del wlock, lock
   357 
   361