Mercurial > hg
changeset 4060:82eb0fafb56d
commit: catch IOError
filecommit can still raise IOError if we're on a filesystem without
support for symlinks.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Tue, 30 Jan 2007 21:11:10 -0200 |
parents | 431f3c1d3a37 |
children | 40030c1b6bc6 |
files | mercurial/localrepo.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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