Handle case of no empty files
Review Request #7683 — Created Oct. 9, 2015 and submitted — Latest diff uploaded
Mercurial's locate command will exit with status 1 when no files are
found. We usehg locate -r <REV> set:size(0)
to locate empty files.
However, when there are no empty files, we will getNone
instead of
empty output because of Mercurial's status code. We now only try to
parse the list of files when there is output to avoid this issue.
Ran unit tests.
rbt post
worked with this patch and didn't without it.