# HG changeset patch # User Alexis S. L. Carvalho # Date 1170198670 7200 # Node ID 82eb0fafb56d5767af52ed60cd272311675b547f # Parent 431f3c1d3a372dc12a3cccd8a1f13f2d4a0166fc commit: catch IOError filecommit can still raise IOError if we're on a filesystem without support for symlinks. diff -r 431f3c1d3a37 -r 82eb0fafb56d mercurial/localrepo.py --- 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