>          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.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to