##// END OF EJS Templates
cleanup: remove useless re-raises of KeyboardInterrupt...
Yuya Nishihara -
r32182:b98ee1a8 default
parent child Browse files
Show More
@@ -67,8 +67,6 b' def read(repo):'
67 partial.setdefault(label, []).append(node)
67 partial.setdefault(label, []).append(node)
68 if state == 'c':
68 if state == 'c':
69 partial._closednodes.add(node)
69 partial._closednodes.add(node)
70 except KeyboardInterrupt:
71 raise
72 except Exception as inst:
70 except Exception as inst:
73 if repo.ui.debugflag:
71 if repo.ui.debugflag:
74 msg = 'invalid branchheads cache'
72 msg = 'invalid branchheads cache'
@@ -171,8 +171,6 b' def loadall(ui):'
171 continue
171 continue
172 try:
172 try:
173 load(ui, name, path)
173 load(ui, name, path)
174 except KeyboardInterrupt:
175 raise
176 except Exception as inst:
174 except Exception as inst:
177 inst = _forbytes(inst)
175 inst = _forbytes(inst)
178 if path:
176 if path:
General Comments 0
You need to be logged in to leave comments. Login now