Details
Details
- Reviewers
pulkit - Group Reviewers
hg-reviewers - Commits
- rHGea6558db1011: extdata: avoid crashing inside subprocess when we get a revset parse error
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
if proc:
- proc.communicate()
+ try:
+ proc.communicate()
+ except ValueError:
+ # This happens if we started iterating src and then
+ # get a parse error on a line. It should be safe to ignore.
+ pass
No idea what to do, but maybe the process would be still running if
ValueError occurred.