Mercurial > hg
comparison mercurial/discovery.py @ 25821:d68544b69736
crecord: throws error instead of crashing for large diffs
Before this patch, crecord was crashing for large diffs
(30k lines on my laptop). This patch catches the exception raised in that case
and use the error reporting mechanism introduced in the previous patch for
notifying the user of the issue. It is not possible to add a test for that for
now as we don't yet have full blown ui tests for the curses interface.
author | Laurent Charignon <lcharignon@fb.com> |
---|---|
date | Fri, 17 Jul 2015 13:44:01 -0700 |
parents | 2b0449255800 |
children | 337d010f31e6 |
comparison
equal
deleted
inserted
replaced
25820:701d8c362aa2 | 25821:d68544b69736 |
---|