mercurial/context.py
changeset 14004 97ed99d1f419
parent 13962 8b252e826c68
child 14129 81e6d42b3228
equal deleted inserted replaced
14003:ba734ff5cadd 14004:97ed99d1f419
   803             for f in list:
   803             for f in list:
   804                 scmutil.checkportable(ui, join(f))
   804                 scmutil.checkportable(ui, join(f))
   805                 p = self._repo.wjoin(f)
   805                 p = self._repo.wjoin(f)
   806                 try:
   806                 try:
   807                     st = os.lstat(p)
   807                     st = os.lstat(p)
   808                 except:
   808                 except OSError:
   809                     ui.warn(_("%s does not exist!\n") % join(f))
   809                     ui.warn(_("%s does not exist!\n") % join(f))
   810                     rejected.append(f)
   810                     rejected.append(f)
   811                     continue
   811                     continue
   812                 if st.st_size > 10000000:
   812                 if st.st_size > 10000000:
   813                     ui.warn(_("%s: up to %d MB of RAM may be required "
   813                     ui.warn(_("%s: up to %d MB of RAM may be required "