changeset 12674 | aa2fe1f52ff4 |
parent 12266 | 00658492e2aa |
child 13023 | 3e2281b85990 |
--- a/hgext/record.py Sat Oct 09 15:13:08 2010 -0500 +++ b/hgext/record.py Sat Oct 09 15:13:08 2010 -0500 @@ -499,11 +499,7 @@ eolmode=None) cmdutil.updatedir(ui, repo, pfiles) except patch.PatchError, err: - s = str(err) - if s: - raise util.Abort(s) - else: - raise util.Abort(_('patch failed to apply')) + raise util.Abort(str(err)) del fp # 4. We prepared working directory according to filtered patch.