changeset 9587 | d80a251baf9a |
parent 9521 | e3ce0c30798b |
child 9598 | a981ddb16b80 |
--- a/hgext/convert/subversion.py Thu Oct 15 23:15:30 2009 +0200 +++ b/hgext/convert/subversion.py Thu Oct 15 23:15:30 2009 +0200 @@ -115,7 +115,11 @@ def __iter__(self): while True: - entry = pickle.load(self._stdout) + try: + entry = pickle.load(self._stdout) + except EOFError: + raise util.Abort(_('Mercurial failed to run itself, check' + ' hg executable is in PATH')) try: orig_paths, revnum, author, date, message = entry except: