changeset 9598 | a981ddb16b80 |
parent 9523 | d932dc655881 |
parent 9587 | d80a251baf9a |
child 9819 | dec177286deb |
--- a/hgext/convert/subversion.py Tue Oct 13 13:43:55 2009 -0700 +++ b/hgext/convert/subversion.py Fri Oct 16 00:06:23 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: