equal
deleted
inserted
replaced
113 def __init__(self, stdout): |
113 def __init__(self, stdout): |
114 self._stdout = stdout |
114 self._stdout = stdout |
115 |
115 |
116 def __iter__(self): |
116 def __iter__(self): |
117 while True: |
117 while True: |
118 entry = pickle.load(self._stdout) |
118 try: |
|
119 entry = pickle.load(self._stdout) |
|
120 except EOFError: |
|
121 raise util.Abort(_('Mercurial failed to run itself, check' |
|
122 ' hg executable is in PATH')) |
119 try: |
123 try: |
120 orig_paths, revnum, author, date, message = entry |
124 orig_paths, revnum, author, date, message = entry |
121 except: |
125 except: |
122 if entry is None: |
126 if entry is None: |
123 break |
127 break |