mercurial/localrepo.py
changeset 4060 82eb0fafb56d
parent 4059 431f3c1d3a37
child 4070 961ccb615cf7
--- a/mercurial/localrepo.py	Tue Jan 30 19:36:56 2007 -0200
+++ b/mercurial/localrepo.py	Tue Jan 30 21:11:10 2007 -0200
@@ -748,7 +748,7 @@
             try:
                 new[f] = self.filecommit(f, m1, m2, linkrev, tr, changed)
                 m1.set(f, is_exec(f), is_link(f))
-            except OSError:
+            except (OSError, IOError):
                 if use_dirstate:
                     self.ui.warn(_("trouble committing %s!\n") % f)
                     raise