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
Lint Skipped - Unit
Unit Tests Skipped
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.