##// END OF EJS Templates
commit: catch IOError...
Alexis S. L. Carvalho -
r4060:82eb0faf default
parent child Browse files
Show More
@@ -748,7 +748,7 b' class localrepository(repo.repository):'
748 try:
748 try:
749 new[f] = self.filecommit(f, m1, m2, linkrev, tr, changed)
749 new[f] = self.filecommit(f, m1, m2, linkrev, tr, changed)
750 m1.set(f, is_exec(f), is_link(f))
750 m1.set(f, is_exec(f), is_link(f))
751 except OSError:
751 except (OSError, IOError):
752 if use_dirstate:
752 if use_dirstate:
753 self.ui.warn(_("trouble committing %s!\n") % f)
753 self.ui.warn(_("trouble committing %s!\n") % f)
754 raise
754 raise
General Comments 0
You need to be logged in to leave comments. Login now